Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009051/0.0009053, allocations: 173.5 kB / 16.72 MB, free: 5.082 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.224/1.224, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007257/0.0007258, allocations: 82.42 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3056/0.3056, allocations: 43.57 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001906/0.1146, allocations: 1.402 MB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1163, allocations: 1.325 MB / 493.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.1164, allocations: 0 / 493.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1166, allocations: 35.83 kB / 493.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1168, allocations: 43.83 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1171, allocations: 75.86 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1172, allocations: 83.69 kB / 493.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.1173, allocations: 16.22 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.1174, allocations: 39.78 kB / 493.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1176, allocations: 35.64 kB / 493.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1176, allocations: 3.938 kB / 493.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1177, allocations: 51.98 kB / 493.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.1178, allocations: 19.91 kB / 494 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.1178, allocations: 49.56 kB / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.118, allocations: 92.08 kB / 494.1 MB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.118, allocations: 0 / 494.1 MB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.118, allocations: 4 kB / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.118, allocations: 0 / 494.1 MB, free: 7.367 MB / 378.7 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.0005473/0.1186, allocations: 395.1 kB / 494.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1186, allocations: 12.03 kB / 494.5 MB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.1187, allocations: 8.844 kB / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1189, allocations: 208 kB / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1189, allocations: 384 / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.119, allocations: 12.12 kB / 494.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1191, allocations: 67.33 kB / 494.8 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1192, allocations: 7.938 kB / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1192, allocations: 4 kB / 494.8 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1192, allocations: 0 / 494.8 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.1193, allocations: 19.98 kB / 494.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.1196, allocations: 280.9 kB / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.1198, allocations: 62.61 kB / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.1199, allocations: 16.86 kB / 495.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1199, allocations: 3.984 kB / 495.2 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1201, allocations: 79.36 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1201, allocations: 0 / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005133/0.1206, allocations: 169.2 kB / 495.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1207, allocations: 81.11 kB / 495.5 MB, free: 5.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1208, allocations: 153.2 kB / 495.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1208, allocations: 25.7 kB / 495.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.1209, allocations: 100 kB / 495.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.1209, allocations: 15.81 kB / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.1209, allocations: 4 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1211, allocations: 326.8 kB / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.1211, allocations: 19.98 kB / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.1212, allocations: 46.5 kB / 496.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1213, allocations: 53.72 kB / 496.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1213, allocations: 0 / 496.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.1215, allocations: 113.4 kB / 496.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1215, allocations: 4 kB / 496.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1215, allocations: 4 kB / 496.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1216, allocations: 3.938 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.1216, allocations: 15.98 kB / 496.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1217, allocations: 0 / 496.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.1217, allocations: 7.938 kB / 496.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1217, allocations: 4 kB / 496.4 MB, free: 4.848 MB / 378.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 (10): * Single equations (assignments): 10 * 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 9.515e-05/0.1218, allocations: 133.7 kB / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1219, allocations: 15.89 kB / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.1219, allocations: 8.719 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1219, allocations: 4 kB / 496.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1219, allocations: 0 / 496.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1219, allocations: 3.938 kB / 496.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.1223, allocations: 387.7 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1224, allocations: 3.984 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.1224, allocations: 15.97 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1224, allocations: 0 / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1224, allocations: 12.31 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1224, allocations: 0 / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1224, allocations: 4 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1227, allocations: 192.3 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.1227, allocations: 89 kB / 497.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1228, allocations: 15.88 kB / 497.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.1228, allocations: 4 kB / 497.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1229, allocations: 11.98 kB / 497.2 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1229, allocations: 0 / 497.2 MB, free: 3.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.702e-05/0.123, allocations: 115.2 kB / 497.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.123, allocations: 4 kB / 497.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.1233, allocations: 31.98 kB / 497.4 MB, free: 3.715 MB / 378.7 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 (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.001036/0.1243, allocations: 497.3 kB / 497.9 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1245, allocations: 59.91 kB / 497.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1245, allocations: 0 / 497.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.1246, allocations: 31.98 kB / 498 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1249, allocations: 23.97 kB / 498 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.1253, allocations: 236.1 kB / 498.2 MB, free: 2.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1256, allocations: 0.6965 MB / 498.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.1257, allocations: 19.44 kB / 498.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1257, allocations: 3.938 kB / 498.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of Templates: time 0.004056/0.1297, allocations: 2.025 MB / 0.4892 GB, free: 128 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches