Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 174.8 kB / 16.72 MB, free: 4.957 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.351/1.351, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007047/0.0007047, allocations: 89.36 kB / 271.2 MB, free: 8.234 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.3087/0.3087, allocations: 43.56 MB / 363.1 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 12 kB / 432 MB, free: 5.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1103, allocations: 58.85 MB / 490.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00223/0.1126, allocations: 1.405 MB / 492.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1139, allocations: 0.7383 MB / 493 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.1141, allocations: 0 / 493 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1144, allocations: 35.83 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1146, allocations: 43.83 kB / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1149, allocations: 75.86 kB / 493.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1151, allocations: 87.69 kB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1152, allocations: 12.2 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.416e-05/0.1153, allocations: 31.86 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.1154, allocations: 35.78 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1154, allocations: 0 / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1155, allocations: 31.98 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.1156, allocations: 23.86 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.1156, allocations: 57.5 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1158, allocations: 84.09 kB / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1158, allocations: 4 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1158, allocations: 0 / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1158, allocations: 0 / 493.5 MB, free: 7.945 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.0005448/0.1164, allocations: 395.1 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1164, allocations: 8.031 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1165, allocations: 8.844 kB / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1167, allocations: 216 kB / 494.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1168, allocations: 4.375 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.1168, allocations: 8.125 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.117, allocations: 57.61 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.117, allocations: 0 / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.117, allocations: 0 / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.117, allocations: 0 / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.1171, allocations: 27.97 kB / 494.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.1175, allocations: 280.9 kB / 494.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1177, allocations: 62.61 kB / 494.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.1178, allocations: 16.86 kB / 494.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1178, allocations: 0 / 494.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.118, allocations: 75.28 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.118, allocations: 4 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005622/0.1186, allocations: 165.3 kB / 494.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1186, allocations: 51.41 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1188, allocations: 186.1 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1188, allocations: 29.64 kB / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.1189, allocations: 108.1 kB / 495.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.1189, allocations: 27.64 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.1189, allocations: 0 / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1191, allocations: 334.8 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.1191, allocations: 15.98 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.1192, allocations: 37.7 kB / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1193, allocations: 57.7 kB / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1193, allocations: 0 / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.1195, allocations: 93.53 kB / 495.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1196, allocations: 8.031 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1196, allocations: 4 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1196, allocations: 0 / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.1197, allocations: 20.36 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1197, allocations: 4.094 kB / 495.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.1198, allocations: 7.938 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1198, allocations: 8 kB / 495.8 MB, free: 5.441 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 0.0001138/0.1199, allocations: 129.8 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1199, allocations: 11.91 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.12, allocations: 24.69 kB / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.12, allocations: 0 / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.12, allocations: 0 / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.12, allocations: 7.875 kB / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.1204, allocations: 391.2 kB / 496.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1204, allocations: 4 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.1205, allocations: 8 kB / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1205, allocations: 4.031 kB / 496.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1205, allocations: 3.938 kB / 496.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1205, allocations: 0 / 496.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1205, allocations: 7.984 kB / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1208, allocations: 204.2 kB / 496.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.1208, allocations: 84.92 kB / 496.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1209, allocations: 7.938 kB / 496.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.121, allocations: 11.98 kB / 496.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.121, allocations: 4 kB / 496.6 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.121, allocations: 4 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1211, allocations: 144.2 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1211, allocations: 0 / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.1214, allocations: 27.94 kB / 496.8 MB, free: 4.281 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.0009545/0.1224, allocations: 461.2 kB / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.1225, allocations: 63.91 kB / 497.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1226, allocations: 0 / 497.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.1226, allocations: 31.92 kB / 497.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.123, allocations: 24.11 kB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.1234, allocations: 260.1 kB / 497.6 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1237, allocations: 0.7083 MB / 498.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.1237, allocations: 15.44 kB / 498.4 MB, free: 2.715 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1237, allocations: 0 / 498.4 MB, free: 2.715 MB / 378.7 MB Notification: Performance of Templates: time 0.003288/0.127, allocations: 1.886 MB / 0.4885 GB, free: 0.832 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches