Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 182.2 kB / 16.41 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 222.6 MB, free: 13.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008145/0.0008146, allocations: 90.31 kB / 270.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2422/0.2422, allocations: 43.57 MB / 362.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 12 kB / 431.4 MB, free: 20.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 58.85 MB / 490.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001934/0.116, allocations: 1.358 MB / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1172, allocations: 0.7277 MB / 492.3 MB, free: 7.184 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.1172, allocations: 7.938 kB / 492.3 MB, free: 7.176 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1175, allocations: 43.86 kB / 492.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1177, allocations: 55.81 kB / 492.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.1179, allocations: 63.86 kB / 492.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1181, allocations: 87.69 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1181, allocations: 7.984 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.1182, allocations: 39.84 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.1183, allocations: 27.86 kB / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1183, allocations: 0 / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.1184, allocations: 35.91 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.1184, allocations: 23.92 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.1185, allocations: 37.64 kB / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1186, allocations: 100 kB / 492.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.1187, allocations: 0 / 492.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1187, allocations: 0 / 492.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1187, allocations: 0 / 492.8 MB, free: 6.656 MB / 330.7 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.0004919/0.1192, allocations: 402.9 kB / 493.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1192, allocations: 8.031 kB / 493.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1193, allocations: 19.77 kB / 493.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1195, allocations: 210.5 kB / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1195, allocations: 7.938 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1195, allocations: 0 / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1197, allocations: 49.67 kB / 493.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1197, allocations: 0 / 493.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1197, allocations: 4 kB / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1197, allocations: 0 / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.1198, allocations: 27.88 kB / 493.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.12, allocations: 189.7 kB / 493.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1202, allocations: 54.56 kB / 493.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1202, allocations: 20.84 kB / 493.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1203, allocations: 3.984 kB / 493.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1204, allocations: 71.39 kB / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.1204, allocations: 0 / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002571/0.1207, allocations: 85.58 kB / 494 MB, free: 5.352 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1207, allocations: 63.34 kB / 494 MB, free: 5.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.121, allocations: 266.3 kB / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.121, allocations: 25.7 kB / 494.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.1211, allocations: 112.1 kB / 494.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1211, allocations: 15.89 kB / 494.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.1211, allocations: 4 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1213, allocations: 322.8 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.1213, allocations: 12 kB / 494.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.221e-05/0.1214, allocations: 33.69 kB / 494.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.1214, allocations: 19.98 kB / 494.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1215, allocations: 0 / 494.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001519/0.1216, allocations: 85.44 kB / 494.9 MB, free: 4.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1216, allocations: 8 kB / 494.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1216, allocations: 0 / 494.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1217, allocations: 0 / 494.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.1217, allocations: 8 kB / 494.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1218, allocations: 4 kB / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.1218, allocations: 11.92 kB / 494.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1218, allocations: 7.953 kB / 495 MB, free: 4.312 MB / 330.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.1219, allocations: 137.8 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.122, allocations: 15.75 kB / 495.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.122, allocations: 17 kB / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.122, allocations: 3.984 kB / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.122, allocations: 0 / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1221, allocations: 0 / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1222, allocations: 193.6 kB / 495.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1222, allocations: 11.97 kB / 495.3 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.1223, allocations: 0 / 495.3 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1223, allocations: 3.938 kB / 495.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1223, allocations: 8.312 kB / 495.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1223, allocations: 0 / 495.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1223, allocations: 4 kB / 495.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1225, allocations: 112.9 kB / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1226, allocations: 88.92 kB / 495.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1226, allocations: 4 kB / 495.5 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.244e-05/0.1226, allocations: 7.984 kB / 495.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.1227, allocations: 4 kB / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1227, allocations: 7.938 kB / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1229, allocations: 200.2 kB / 495.8 MB, free: 3.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1229, allocations: 0 / 495.8 MB, free: 3.414 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.1231, allocations: 20 kB / 495.8 MB, free: 3.395 MB / 330.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008352/0.1239, allocations: 409.5 kB / 496.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1241, allocations: 39.98 kB / 496.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1241, allocations: 64 / 496.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.1241, allocations: 27.92 kB / 496.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1244, allocations: 23.94 kB / 496.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.1249, allocations: 303.5 kB / 496.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1252, allocations: 0.716 MB / 497.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.1252, allocations: 11.44 kB / 497.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1252, allocations: 0 / 497.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of Templates: time 0.003311/0.1286, allocations: 1.812 MB / 499.1 MB, free: 68 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches