Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.52 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1309, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003729/0.1347, allocations: 1.464 MB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004141/0.1351, allocations: 101.4 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.1352, allocations: 0 / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.1354, allocations: 0 / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.1354, allocations: 7.922 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1357, allocations: 23.92 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1358, allocations: 31.88 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.136, allocations: 15.97 kB / 359.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.136, allocations: 8 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.1361, allocations: 15.92 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1361, allocations: 0 / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.1361, allocations: 7.938 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1362, allocations: 3.938 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.1362, allocations: 11.94 kB / 359.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1363, allocations: 27.91 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1363, allocations: 0 / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1363, allocations: 0 / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1363, allocations: 4 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004744/0.1368, allocations: 343.7 kB / 359.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.1369, allocations: 12.03 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1369, allocations: 34.75 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.137, allocations: 4.844 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1372, allocations: 180.2 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1372, allocations: 4.312 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1372, allocations: 4.375 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.1376, allocations: 107.9 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1376, allocations: 3.938 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1376, allocations: 0 / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1376, allocations: 4 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.1377, allocations: 15.98 kB / 360 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.1379, allocations: 157.7 kB / 360.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1381, allocations: 58.48 kB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.1381, allocations: 24.92 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1382, allocations: 0 / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1382, allocations: 34.56 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1382, allocations: 4 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002475/0.1385, allocations: 69.8 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1385, allocations: 55.41 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.1386, allocations: 109.8 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1386, allocations: 29.7 kB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.1387, allocations: 80.14 kB / 360.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.1387, allocations: 0 / 360.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1387, allocations: 17.72 kB / 360.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1389, allocations: 318.8 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.1389, allocations: 8 kB / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.1389, allocations: 27.42 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.357e-05/0.139, allocations: 43.36 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.139, allocations: 4 kB / 361 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.511e-05/0.1391, allocations: 53.55 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1391, allocations: 10.91 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1391, allocations: 3.984 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1392, allocations: 4 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.1392, allocations: 4 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1392, allocations: 3.938 kB / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.1393, allocations: 16 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1393, allocations: 0 / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.1394, allocations: 117.8 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1395, allocations: 61.61 kB / 361.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.1396, allocations: 7.906 kB / 361.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1396, allocations: 3.938 kB / 361.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1396, allocations: 0 / 361.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1396, allocations: 0 / 361.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.1397, allocations: 157.7 kB / 361.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1397, allocations: 0 / 361.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.1398, allocations: 11.98 kB / 361.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1398, allocations: 3.938 kB / 361.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1398, allocations: 3.938 kB / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1398, allocations: 0 / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1398, allocations: 0 / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.14, allocations: 85.02 kB / 361.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.14, allocations: 85.11 kB / 361.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.14, allocations: 4.188 kB / 361.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.1401, allocations: 4 kB / 361.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-06/0.1401, allocations: 4 kB / 361.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1401, allocations: 4 kB / 361.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.1401, allocations: 83.27 kB / 361.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1401, allocations: 0 / 361.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1404, allocations: 8 kB / 361.8 MB, free: 9.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004637/0.1408, allocations: 0.624 MB / 362.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.141, allocations: 27.92 kB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.141, allocations: 0 / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.141, allocations: 0 / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1412, allocations: 24.23 kB / 362.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1424, allocations: 1.154 MB / 363.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1427, allocations: 0.6846 MB / 364.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.951e-05/0.1427, allocations: 7.984 kB / 364.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.1428, allocations: 7.438 kB / 364.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1428, allocations: 0 / 364.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1639, allocations: 1.217 MB / 365.5 MB, free: 5.629 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/7.996, allocations: 4 kB / 365.5 MB, free: 5.625 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches