Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.934/0.934, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.797e-05, allocations: 13.17 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003163/0.003191, allocations: 1.485 MB / 326.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003469/0.003538, allocations: 95.64 kB / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.003609, allocations: 0 / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.003643, allocations: 11.92 kB / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.003692, allocations: 3.938 kB / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.003976, allocations: 27.91 kB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.004083, allocations: 27.94 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.004198, allocations: 15.91 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.004248, allocations: 11.98 kB / 326.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.004303, allocations: 8 kB / 326.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.00433, allocations: 0 / 326.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.00434, allocations: 4 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.004361, allocations: 3.938 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.004395, allocations: 11.98 kB / 326.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.004502, allocations: 35.83 kB / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.004506, allocations: 0 / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.004507, allocations: 0 / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.004513, allocations: 0 / 326.3 MB, free: 14.18 MB / 298.7 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.0004126/0.004925, allocations: 265.2 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.004971, allocations: 12.03 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.005008, allocations: 34.73 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.005038, allocations: 8.891 kB / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.005264, allocations: 117.7 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.005276, allocations: 8.375 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.005285, allocations: 384 / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.005586, allocations: 111.8 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.005594, allocations: 192 / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005603, allocations: 384 / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.005609, allocations: 4.125 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.005673, allocations: 23.92 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.005807, allocations: 136.7 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.00595, allocations: 50.58 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.006001, allocations: 24.88 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.006022, allocations: 0 / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.006052, allocations: 38.56 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.006053, allocations: 0 / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002301/0.006283, allocations: 69.61 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.006342, allocations: 55.34 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.006418, allocations: 113.8 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.006429, allocations: 25.7 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.006467, allocations: 88.14 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.00647, allocations: 0 / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.006492, allocations: 9.719 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.006586, allocations: 314.8 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.006591, allocations: 0 / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/0.006596, allocations: 0 / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.006621, allocations: 79.27 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/0.006645, allocations: 75.28 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.911e-05/0.006704, allocations: 37.64 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.006737, allocations: 83.22 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.00676, allocations: 75.28 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-05/0.006815, allocations: 162.5 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.479e-05/0.00684, allocations: 79.22 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.011e-05/0.00688, allocations: 150.6 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.006947, allocations: 83.22 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.006971, allocations: 79.27 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 0.0001043/0.007075, allocations: 189.1 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.00719, allocations: 57.58 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.007222, allocations: 12 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.007228, allocations: 7.984 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.007233, allocations: 4.188 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.007236, allocations: 0 / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.559e-05/0.007311, allocations: 120.8 kB / 329.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.007317, allocations: 3.984 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.007388, allocations: 8 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.007392, allocations: 0 / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007399, allocations: 4 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.007402, allocations: 0 / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.007404, allocations: 7.938 kB / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.111e-05/0.007495, allocations: 77.11 kB / 329.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.007505, allocations: 7.953 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.007517, allocations: 7.938 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.148e-05/0.007529, allocations: 4 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-06/0.007533, allocations: 7.922 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.007537, allocations: 0 / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.048e-05/0.007568, allocations: 79.28 kB / 329.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007568, allocations: 0 / 329.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.007711, allocations: 8 kB / 329.3 MB, free: 10.94 MB / 298.7 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.000285/0.007996, allocations: 0.6128 MB / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.008068, allocations: 15.92 kB / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.00807, allocations: 3.938 kB / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.008071, allocations: 0 / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.008273, allocations: 27.91 kB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/0.009046, allocations: 1.381 MB / 331.3 MB, free: 8.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.00909, allocations: 63.34 kB / 331.4 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.435e-05/0.009105, allocations: 4 kB / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.009143, allocations: 16.5 kB / 331.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009143, allocations: 0 / 331.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.02664, allocations: 1.831 MB / 333.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.189, allocations: 5.75 kB / 333.2 MB, free: 6.977 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.945507796481252]