Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.001137, allocations: 114.4 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 187.8 kB / 18.71 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4376, allocations: 60.82 MB / 0.519 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003526/0.4412, allocations: 1.673 MB / 0.5206 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.4427, allocations: 0.8453 MB / 0.5214 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.4428, allocations: 5.062 kB / 0.5214 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.4431, allocations: 56.55 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.4433, allocations: 71.33 kB / 0.5216 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.4436, allocations: 110.9 kB / 0.5217 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.4438, allocations: 99.3 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.4438, allocations: 5.297 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.4439, allocations: 46.7 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.444, allocations: 40.09 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.444, allocations: 3.219 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.4441, allocations: 42.38 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.4442, allocations: 21.73 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.4442, allocations: 28.48 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.4444, allocations: 99.91 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4445, allocations: 0 / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4445, allocations: 3.938 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.4445, allocations: 0 / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004306/0.4449, allocations: 399.3 kB / 0.5224 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.445, allocations: 8.656 kB / 0.5224 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.445, allocations: 10.06 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.4452, allocations: 208.5 kB / 0.5226 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4452, allocations: 2.359 kB / 0.5226 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.4452, allocations: 10.41 kB / 0.5226 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4454, allocations: 50.94 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.4454, allocations: 0 / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.4454, allocations: 0.7031 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4454, allocations: 1.062 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.4455, allocations: 19.02 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.4456, allocations: 179.3 kB / 0.5229 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.4458, allocations: 55.41 kB / 0.5229 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.4458, allocations: 23.98 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4459, allocations: 9.938 kB / 0.523 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.446, allocations: 72.38 kB / 0.523 GB, free: 0.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.446, allocations: 0 / 0.523 GB, free: 0.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000246/0.4463, allocations: 95.56 kB / 0.5231 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.4463, allocations: 52.66 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4465, allocations: 186.4 kB / 0.5234 GB, free: 344 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.4465, allocations: 30.92 kB / 0.5234 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.4465, allocations: 99.47 kB / 0.5235 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.4465, allocations: 11.56 kB / 0.5235 GB, free: 204 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.4466, allocations: 24.53 kB / 0.5235 GB, free: 180 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.4467, allocations: 321.6 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.4467, allocations: 13.62 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.4468, allocations: 30.16 kB / 0.5239 GB, free: 15.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.4469, allocations: 46.03 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4469, allocations: 0 / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001554/0.4471, allocations: 88.55 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4471, allocations: 5.594 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4471, allocations: 1.5 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4472, allocations: 0.75 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.4472, allocations: 14.67 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4472, allocations: 4.922 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.4473, allocations: 3.031 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4473, allocations: 3.312 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.888e-05/0.4474, allocations: 132.9 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.4474, allocations: 9.156 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.4475, allocations: 11.2 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4475, allocations: 3.938 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4475, allocations: 4 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4475, allocations: 1.828 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.4477, allocations: 184.9 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4477, allocations: 0 / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.4477, allocations: 5.656 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4477, allocations: 3.938 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4477, allocations: 0.7031 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4477, allocations: 4.719 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4477, allocations: 1.656 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.4479, allocations: 116 kB / 0.5245 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.448, allocations: 84.64 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.448, allocations: 1.094 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.4481, allocations: 7.344 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.4481, allocations: 4.281 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.4481, allocations: 6.188 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.4482, allocations: 139 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4482, allocations: 1.156 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.4485, allocations: 17.44 kB / 0.5247 GB, free: 15.08 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009042/0.4494, allocations: 417.6 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.4495, allocations: 39.62 kB / 0.5252 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4496, allocations: 0 / 0.5252 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.4496, allocations: 25.56 kB / 0.5252 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.4499, allocations: 26.52 kB / 0.5252 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.4503, allocations: 196.8 kB / 0.5254 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4506, allocations: 0.6977 MB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.4507, allocations: 10.41 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.4507, allocations: 22.28 kB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4508, allocations: 0 / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of Templates: time 0.004763/0.4555, allocations: 1.52 MB / 0.5276 GB, free: 13.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches