Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.825/1.825, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009411/0.0009412, allocations: 91.8 kB / 270.9 MB, free: 8.355 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.3392/0.3392, allocations: 43.56 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 15.98 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 58.86 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001943/0.1192, allocations: 1.398 MB / 491.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1202, allocations: 0.7306 MB / 492.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.1203, allocations: 0 / 492.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.1206, allocations: 43.83 kB / 492.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1207, allocations: 51.77 kB / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.121, allocations: 63.86 kB / 492.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1211, allocations: 87.73 kB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.1212, allocations: 12.22 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.1213, allocations: 35.8 kB / 492.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.1214, allocations: 27.84 kB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1214, allocations: 7.984 kB / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.152e-05/0.1215, allocations: 39.94 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.1215, allocations: 23.86 kB / 492.8 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.1216, allocations: 33.7 kB / 492.8 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1217, allocations: 84.08 kB / 492.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1217, allocations: 4 kB / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1217, allocations: 0 / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1217, allocations: 0 / 492.9 MB, free: 8.32 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.0004893/0.1222, allocations: 402.8 kB / 493.3 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1223, allocations: 12.02 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.1223, allocations: 15.91 kB / 493.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1225, allocations: 199.6 kB / 493.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1226, allocations: 4 kB / 493.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1226, allocations: 0 / 493.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1228, allocations: 57.61 kB / 493.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1228, allocations: 7.906 kB / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.1228, allocations: 0 / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1228, allocations: 3.953 kB / 493.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.1229, allocations: 23.92 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.1232, allocations: 284.9 kB / 493.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1234, allocations: 58.67 kB / 493.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.1235, allocations: 20.84 kB / 493.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1235, allocations: 3.938 kB / 494 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.1237, allocations: 79.34 kB / 494 MB, free: 7.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1237, allocations: 0 / 494 MB, free: 7.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005236/0.1243, allocations: 177.2 kB / 494.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1243, allocations: 51.41 kB / 494.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1245, allocations: 196.7 kB / 494.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1245, allocations: 25.7 kB / 494.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.1246, allocations: 108.1 kB / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.1246, allocations: 23.72 kB / 494.6 MB, free: 6.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.1246, allocations: 0 / 494.6 MB, free: 6.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1247, allocations: 326.8 kB / 494.9 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.1248, allocations: 15.98 kB / 494.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.1249, allocations: 41.64 kB / 495 MB, free: 6.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.013e-05/0.1249, allocations: 27.94 kB / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1249, allocations: 0 / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.1251, allocations: 113.5 kB / 495.1 MB, free: 5.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1251, allocations: 7.438 kB / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1251, allocations: 4 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1252, allocations: 0 / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.1253, allocations: 15.94 kB / 495.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1253, allocations: 0 / 495.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.1253, allocations: 11.98 kB / 495.2 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1253, allocations: 4 kB / 495.2 MB, free: 5.824 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.63e-05/0.1254, allocations: 121.9 kB / 495.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1255, allocations: 19.84 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.1255, allocations: 13.41 kB / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1255, allocations: 0 / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1255, allocations: 0 / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1255, allocations: 3.938 kB / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.126, allocations: 399.2 kB / 495.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.126, allocations: 3.984 kB / 495.7 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.126, allocations: 12.03 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.126, allocations: 0 / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1261, allocations: 8 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1261, allocations: 0 / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1261, allocations: 3.938 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1263, allocations: 192.3 kB / 495.9 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1263, allocations: 96.95 kB / 496 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1264, allocations: 8 kB / 496 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.1265, allocations: 0 / 496 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1265, allocations: 11.98 kB / 496 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1265, allocations: 4 kB / 496 MB, free: 4.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1266, allocations: 148.9 kB / 496.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1266, allocations: 0 / 496.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.1269, allocations: 31.91 kB / 496.2 MB, free: 4.664 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.000896/0.1278, allocations: 477.2 kB / 496.7 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1279, allocations: 51.98 kB / 496.7 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.128, allocations: 0 / 496.7 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.128, allocations: 35.98 kB / 496.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1283, allocations: 24.3 kB / 496.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.1288, allocations: 284.1 kB / 497.1 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1291, allocations: 0.7082 MB / 497.8 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1291, allocations: 23.42 kB / 497.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1291, allocations: 0 / 497.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of Templates: time 0.003285/0.1324, allocations: 1.89 MB / 499.7 MB, free: 1.168 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches