Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 112.7 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.001213/0.001214, allocations: 185.2 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.32/1.32, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.206/0.206, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4233, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003177/0.4265, allocations: 1.711 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.4279, allocations: 0.8725 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.428, allocations: 5.188 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.4283, allocations: 42.41 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.4286, allocations: 61.95 kB / 0.5223 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.4289, allocations: 113.2 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.4291, allocations: 95.89 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.4292, allocations: 11.73 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.4293, allocations: 45.5 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.4294, allocations: 25.81 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4294, allocations: 4.375 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4295, allocations: 43.08 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.4296, allocations: 28.05 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.4296, allocations: 38.3 kB / 0.5227 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.4299, allocations: 120.4 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.4299, allocations: 1.062 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4299, allocations: 0 / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.4299, allocations: 4 kB / 0.5228 GB, free: 1.531 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005077/0.4304, allocations: 425.5 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4305, allocations: 9 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.4305, allocations: 15.19 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.4307, allocations: 211.5 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4308, allocations: 2.438 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4308, allocations: 14.95 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.431, allocations: 54.22 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.431, allocations: 7.938 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.431, allocations: 1.125 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.431, allocations: 1.984 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.228e-05/0.4311, allocations: 17.14 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.4314, allocations: 293.8 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4316, allocations: 56.09 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.4317, allocations: 28.11 kB / 0.5239 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.4317, allocations: 1.938 kB / 0.5239 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.4318, allocations: 65.97 kB / 0.5239 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4319, allocations: 0 / 0.5239 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005384/0.4324, allocations: 177.6 kB / 0.5241 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.4324, allocations: 60.78 kB / 0.5242 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.4327, allocations: 219.4 kB / 0.5244 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.4327, allocations: 26.73 kB / 0.5244 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.4327, allocations: 108.9 kB / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4328, allocations: 26.45 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.4328, allocations: 22.06 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.433, allocations: 327.8 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.433, allocations: 21.47 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.4331, allocations: 42.41 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.4332, allocations: 58.11 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4332, allocations: 0 / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.4335, allocations: 106.5 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4335, allocations: 5.188 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4335, allocations: 1.984 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4335, allocations: 3.938 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.4336, allocations: 20.16 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4336, allocations: 1.406 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.4337, allocations: 10.45 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4337, allocations: 3.531 kB / 0.5251 GB, free: 15.48 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 (10): * Single equations (assignments): 10 * 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.0001169/0.4338, allocations: 129.8 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4338, allocations: 21.56 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.4339, allocations: 19.22 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4339, allocations: 1.156 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4339, allocations: 4.188 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4339, allocations: 4.547 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.4345, allocations: 399.1 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.4345, allocations: 0 / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.4346, allocations: 9.203 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4346, allocations: 1.75 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4346, allocations: 6.406 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.4346, allocations: 384 / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4346, allocations: 1.812 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.4349, allocations: 205.1 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.4349, allocations: 84.34 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.435, allocations: 11.2 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.4351, allocations: 10.7 kB / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.4351, allocations: 9.906 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.4352, allocations: 4.5 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.4353, allocations: 179.8 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4354, allocations: 0 / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.4357, allocations: 21.81 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001128/0.4368, allocations: 461.6 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.437, allocations: 64.34 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.437, allocations: 0 / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.4371, allocations: 29 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.4375, allocations: 30.45 kB / 0.5267 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.4381, allocations: 285.2 kB / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.4384, allocations: 0.7188 MB / 0.5277 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.4385, allocations: 16.78 kB / 0.5277 GB, free: 13.4 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4385, allocations: 0 / 0.5277 GB, free: 13.4 MB / 398.1 MB Notification: Performance of Templates: time 0.004356/0.4428, allocations: 1.979 MB / 0.5297 GB, free: 12.68 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches