Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001268, allocations: 183 kB / 16.63 MB, free: 5.137 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.63/1.63, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001073/0.001073, allocations: 96.8 kB / 269.9 MB, free: 8.438 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.3769/0.3769, allocations: 43.5 MB / 360.7 MB, free: 51.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1143, allocations: 57.78 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003348/0.1177, allocations: 1.9 MB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1192, allocations: 0.882 MB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.1193, allocations: 0 / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1196, allocations: 151.7 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1199, allocations: 123.6 kB / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1203, allocations: 147.7 kB / 490.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1205, allocations: 203.4 kB / 490.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.1206, allocations: 25.53 kB / 490.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1207, allocations: 99.53 kB / 490.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1209, allocations: 123.6 kB / 490.7 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1209, allocations: 8 kB / 490.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.121, allocations: 35.98 kB / 490.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.1211, allocations: 51.77 kB / 490.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.1212, allocations: 67.48 kB / 490.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1214, allocations: 191.6 kB / 491 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1214, allocations: 0 / 491 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1214, allocations: 0 / 491 MB, free: 8.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1214, allocations: 0 / 491 MB, free: 8.508 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00064/0.122, allocations: 0.5176 MB / 491.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1221, allocations: 16.03 kB / 491.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.1221, allocations: 20.66 kB / 491.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1224, allocations: 259.6 kB / 491.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1224, allocations: 4.375 kB / 491.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1225, allocations: 16.11 kB / 491.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.1227, allocations: 99.3 kB / 491.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1227, allocations: 3.938 kB / 491.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1227, allocations: 0 / 491.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1227, allocations: 4 kB / 491.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1228, allocations: 39.97 kB / 492 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1233, allocations: 440.8 kB / 492.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.1235, allocations: 121.2 kB / 492.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.1236, allocations: 45.62 kB / 492.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1237, allocations: 4 kB / 492.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.1239, allocations: 109.1 kB / 492.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1239, allocations: 0 / 492.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007716/0.1247, allocations: 356.8 kB / 493 MB, free: 6.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1248, allocations: 85.05 kB / 493.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.1251, allocations: 354.9 kB / 493.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1251, allocations: 25.7 kB / 493.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.1252, allocations: 148.4 kB / 493.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.1252, allocations: 43.36 kB / 493.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.1253, allocations: 37.7 kB / 493.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1254, allocations: 338.8 kB / 494 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.1255, allocations: 44.05 kB / 494.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1256, allocations: 67.41 kB / 494.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1258, allocations: 127.5 kB / 494.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1258, allocations: 0 / 494.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003/0.1261, allocations: 177.2 kB / 494.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1261, allocations: 4 kB / 494.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1261, allocations: 4 kB / 494.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1262, allocations: 4.062 kB / 494.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1263, allocations: 31.98 kB / 494.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1263, allocations: 15.86 kB / 494.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.1264, allocations: 4 kB / 494.5 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1264, allocations: 8 kB / 494.5 MB, free: 4.719 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001281/0.1265, allocations: 157.8 kB / 494.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1266, allocations: 23.72 kB / 494.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.1266, allocations: 29.73 kB / 494.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1267, allocations: 8 kB / 494.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1267, allocations: 7.875 kB / 494.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1267, allocations: 0 / 494.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/0.1273, allocations: 0.6163 MB / 495.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1274, allocations: 0 / 495.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.1274, allocations: 23.92 kB / 495.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1274, allocations: 4.062 kB / 495.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1275, allocations: 8 kB / 495.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1275, allocations: 3.938 kB / 495.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1275, allocations: 4 kB / 495.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/0.1282, allocations: 0.9861 MB / 496.4 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.1283, allocations: 92.83 kB / 496.5 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1283, allocations: 4 kB / 496.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1284, allocations: 11.98 kB / 496.5 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1285, allocations: 15.92 kB / 496.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1285, allocations: 8 kB / 496.5 MB, free: 2.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002315/0.1288, allocations: 261.9 kB / 496.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1288, allocations: 4 kB / 496.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.1292, allocations: 44 kB / 496.8 MB, free: 2.258 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009403/0.1301, allocations: 488.7 kB / 497.3 MB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.1304, allocations: 123.8 kB / 497.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1304, allocations: 0 / 497.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1305, allocations: 55.92 kB / 497.5 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.131, allocations: 52.7 kB / 497.5 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.1318, allocations: 0.628 MB / 498.1 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1321, allocations: 0.7518 MB / 498.9 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.1322, allocations: 34.55 kB / 498.9 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.1323, allocations: 19.44 kB / 499 MB, free: 104 kB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1323, allocations: 0 / 499 MB, free: 104 kB / 378.7 MB Notification: Performance of Templates: time 0.005254/0.1376, allocations: 2.644 MB / 0.4898 GB, free: 13.46 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches