Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.00122/0.00122, allocations: 105.5 kB / 269.9 MB, free: 8.43 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.3411/0.3411, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009747/0.0009747, allocations: 55.92 kB / 429.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1124, allocations: 57.77 MB / 487 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003212/0.1156, allocations: 1.756 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1169, allocations: 0.7885 MB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.1171, allocations: 3.938 kB / 489.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.1174, allocations: 79.83 kB / 489.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1176, allocations: 63.78 kB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1179, allocations: 71.86 kB / 489.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.1181, allocations: 107.7 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.1182, allocations: 8.219 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1183, allocations: 63.7 kB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.1184, allocations: 47.83 kB / 490 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1185, allocations: 4 kB / 490 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1186, allocations: 43.97 kB / 490 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.1186, allocations: 15.92 kB / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.1187, allocations: 31.75 kB / 490.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1189, allocations: 123.8 kB / 490.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1189, allocations: 0 / 490.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1189, allocations: 3.938 kB / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1189, allocations: 0 / 490.2 MB, free: 9.293 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.0005227/0.1194, allocations: 423 kB / 490.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1195, allocations: 8.031 kB / 490.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1195, allocations: 12.75 kB / 490.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1198, allocations: 212.1 kB / 490.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1198, allocations: 8.359 kB / 490.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1198, allocations: 4.125 kB / 490.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1199, allocations: 53.67 kB / 490.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.12, allocations: 0 / 490.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.12, allocations: 7.922 kB / 490.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.12, allocations: 11.94 kB / 490.9 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.1201, allocations: 19.92 kB / 491 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.1204, allocations: 292.8 kB / 491.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1206, allocations: 54.67 kB / 491.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.1206, allocations: 24.8 kB / 491.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1207, allocations: 0 / 491.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.1208, allocations: 67.39 kB / 491.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1209, allocations: 0 / 491.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004903/0.1213, allocations: 185.1 kB / 491.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1214, allocations: 51.41 kB / 491.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1216, allocations: 218.3 kB / 491.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1216, allocations: 25.7 kB / 491.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.1217, allocations: 104.1 kB / 492 MB, free: 7.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1217, allocations: 23.66 kB / 492 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.1217, allocations: 25.7 kB / 492 MB, free: 7.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1218, allocations: 330.8 kB / 492.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.1219, allocations: 16 kB / 492.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.122, allocations: 33.7 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1221, allocations: 65.64 kB / 492.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1221, allocations: 4 kB / 492.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001715/0.1223, allocations: 101.4 kB / 492.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1223, allocations: 4 kB / 492.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1223, allocations: 7.984 kB / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1223, allocations: 0 / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1224, allocations: 12 kB / 492.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1224, allocations: 4.188 kB / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.1225, allocations: 7.938 kB / 492.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1225, allocations: 7.984 kB / 492.6 MB, free: 6.68 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/0.1226, allocations: 125.8 kB / 492.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1226, allocations: 11.91 kB / 492.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.1226, allocations: 17.39 kB / 492.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1227, allocations: 7.938 kB / 492.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1227, allocations: 0 / 492.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1227, allocations: 3.938 kB / 492.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.1231, allocations: 395.3 kB / 493.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1231, allocations: 3.938 kB / 493.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.1232, allocations: 15.92 kB / 493.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1232, allocations: 192 / 493.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1232, allocations: 7.938 kB / 493.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1232, allocations: 3.938 kB / 493.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1232, allocations: 0 / 493.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.1237, allocations: 0.791 MB / 494 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.1238, allocations: 88.92 kB / 494.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1238, allocations: 7.984 kB / 494.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.1239, allocations: 4.375 kB / 494.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1239, allocations: 4 kB / 494.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.124, allocations: 11.98 kB / 494.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1241, allocations: 164.2 kB / 494.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1241, allocations: 0 / 494.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.1245, allocations: 24 kB / 494.3 MB, free: 4.859 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 (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.0009514/0.1254, allocations: 464.9 kB / 494.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1256, allocations: 63.84 kB / 494.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1256, allocations: 0 / 494.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.1257, allocations: 31.92 kB / 494.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.126, allocations: 23.98 kB / 494.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.1265, allocations: 383.8 kB / 495.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.1268, allocations: 0.7121 MB / 495.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.016e-05/0.1269, allocations: 17.17 kB / 495.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.1269, allocations: 19.42 kB / 496 MB, free: 3.148 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.127, allocations: 0 / 496 MB, free: 3.148 MB / 378.7 MB Notification: Performance of Templates: time 0.004408/0.1314, allocations: 1.682 MB / 497.6 MB, free: 1.473 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches