Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 110.8 kB / 18.45 MB, free: 4.645 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.001393/0.001393, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.317/1.317, allocations: 222.9 MB / 243.1 MB, free: 15.2 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.2108/0.2108, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3959, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002864/0.3988, allocations: 1.676 MB / 0.5213 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.4001, allocations: 0.8562 MB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.4002, allocations: 0 / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.4005, allocations: 46.5 kB / 0.5221 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.4008, allocations: 64.59 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.401, allocations: 103.4 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.4012, allocations: 88.52 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.4013, allocations: 5.375 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.4014, allocations: 44.61 kB / 0.5224 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.4015, allocations: 29.14 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.4015, allocations: 3.812 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.4016, allocations: 33.06 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.4017, allocations: 32 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.4017, allocations: 36.89 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.4019, allocations: 118.1 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4019, allocations: 0 / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4019, allocations: 1.062 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.402, allocations: 0 / 0.5227 GB, free: 1.59 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.0004957/0.4025, allocations: 432 kB / 0.5231 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4025, allocations: 9.156 kB / 0.5231 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.4026, allocations: 18.84 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.4028, allocations: 213.6 kB / 0.5233 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.4028, allocations: 6.484 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4028, allocations: 5.75 kB / 0.5233 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.403, allocations: 46.06 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.403, allocations: 0 / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.403, allocations: 2.219 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.403, allocations: 0 / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.522e-05/0.4031, allocations: 18.14 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.4033, allocations: 195.1 kB / 0.5236 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.4034, allocations: 48.08 kB / 0.5236 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.4035, allocations: 24.66 kB / 0.5237 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4035, allocations: 1.344 kB / 0.5237 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.4037, allocations: 72.11 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.4037, allocations: 0 / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002739/0.4039, allocations: 101.2 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.404, allocations: 52.67 kB / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4042, allocations: 262.5 kB / 0.5241 GB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.4042, allocations: 25.7 kB / 0.5241 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.4043, allocations: 111.5 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.4043, allocations: 11.8 kB / 0.5243 GB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.4044, allocations: 27.75 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4045, allocations: 325 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.4045, allocations: 13.66 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.4046, allocations: 31.08 kB / 0.5246 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.697e-05/0.4047, allocations: 42.02 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4047, allocations: 0 / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001796/0.4049, allocations: 98.14 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4049, allocations: 4.625 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4049, allocations: 1.188 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.405, allocations: 5.75 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.405, allocations: 10.34 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4051, allocations: 0 / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.4051, allocations: 4.344 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.4051, allocations: 6.156 kB / 0.5248 GB, free: 15.69 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 0.0001126/0.4052, allocations: 140.1 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.4053, allocations: 14.77 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.4053, allocations: 18.8 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4053, allocations: 0.6562 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4053, allocations: 1.031 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4053, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.4055, allocations: 195.8 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4055, allocations: 0 / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.4056, allocations: 8.156 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4056, allocations: 3.938 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4056, allocations: 2.469 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4056, allocations: 4 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4056, allocations: 0.7188 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.4058, allocations: 114.3 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.4058, allocations: 89.94 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.4059, allocations: 1.312 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.4059, allocations: 6.188 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.406, allocations: 3.672 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.406, allocations: 8.062 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.4061, allocations: 197.9 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4062, allocations: 1.219 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.4064, allocations: 18.47 kB / 0.5256 GB, free: 15.01 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.0009284/0.4073, allocations: 419.8 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.4075, allocations: 45.77 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4075, allocations: 0 / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.4076, allocations: 20.91 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4079, allocations: 31.12 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.4084, allocations: 278.6 kB / 0.5264 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.4087, allocations: 0.7169 MB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.4087, allocations: 14.8 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4087, allocations: 0 / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Templates: time 0.003962/0.4127, allocations: 1.852 MB / 0.5289 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches