Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 171.2 kB / 16.72 MB, free: 5.051 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.231/1.231, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0006974/0.0006973, allocations: 89.38 kB / 271.2 MB, free: 8.242 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.3031/0.3031, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003865, allocations: 16 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1179, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002028/0.12, allocations: 1.405 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1212, allocations: 0.7461 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.1212, allocations: 7.938 kB / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.1215, allocations: 35.88 kB / 493 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1217, allocations: 55.81 kB / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.122, allocations: 75.84 kB / 493.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1221, allocations: 87.69 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.1223, allocations: 16.2 kB / 493.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.1223, allocations: 43.77 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.1224, allocations: 31.86 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1224, allocations: 0 / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.1225, allocations: 31.98 kB / 493.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.1226, allocations: 35.84 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.1227, allocations: 65.38 kB / 493.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1228, allocations: 104.1 kB / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1228, allocations: 0 / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1228, allocations: 0 / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1229, allocations: 0 / 493.6 MB, free: 8.133 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.0004983/0.1234, allocations: 418.9 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1234, allocations: 8.031 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.1235, allocations: 12.75 kB / 494 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1237, allocations: 232.8 kB / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1237, allocations: 384 / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1237, allocations: 8.125 kB / 494.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1239, allocations: 57.61 kB / 494.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1239, allocations: 0 / 494.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1239, allocations: 0 / 494.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1239, allocations: 4 kB / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.083e-05/0.124, allocations: 19.98 kB / 494.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.1244, allocations: 304.7 kB / 494.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1245, allocations: 62.61 kB / 494.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.1246, allocations: 16.86 kB / 494.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1246, allocations: 0 / 494.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.1248, allocations: 71.38 kB / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1248, allocations: 0 / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005299/0.1254, allocations: 177.1 kB / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1254, allocations: 55.41 kB / 495 MB, free: 6.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1257, allocations: 276.7 kB / 495.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1257, allocations: 25.7 kB / 495.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.1258, allocations: 116.1 kB / 495.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.1258, allocations: 31.58 kB / 495.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1258, allocations: 4 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.126, allocations: 334.8 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.126, allocations: 19.98 kB / 495.8 MB, free: 5.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.1261, allocations: 37.7 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1262, allocations: 53.72 kB / 495.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1262, allocations: 0 / 495.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.1264, allocations: 109.4 kB / 496 MB, free: 5.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1264, allocations: 4 kB / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1265, allocations: 0 / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1265, allocations: 0 / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.1266, allocations: 16 kB / 496 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1266, allocations: 3.938 kB / 496 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1266, allocations: 11.92 kB / 496 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1266, allocations: 4.156 kB / 496 MB, free: 5.453 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.000104/0.1268, allocations: 133.9 kB / 496.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.1268, allocations: 19.81 kB / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.1268, allocations: 25.38 kB / 496.2 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1268, allocations: 384 / 496.2 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1269, allocations: 0 / 496.2 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1269, allocations: 11.88 kB / 496.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1273, allocations: 407.3 kB / 496.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1273, allocations: 3.984 kB / 496.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.1273, allocations: 12.03 kB / 496.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1273, allocations: 0 / 496.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1274, allocations: 4.125 kB / 496.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1274, allocations: 4 kB / 496.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1274, allocations: 3.938 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.1276, allocations: 208.1 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.1276, allocations: 92.91 kB / 496.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1277, allocations: 11.94 kB / 496.9 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.1277, allocations: 4 kB / 496.9 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.1278, allocations: 7.984 kB / 496.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1278, allocations: 4 kB / 496.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.128, allocations: 208.5 kB / 497.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.128, allocations: 0 / 497.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.1282, allocations: 24 kB / 497.2 MB, free: 4.188 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.0008969/0.1291, allocations: 469.4 kB / 497.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1293, allocations: 51.92 kB / 497.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1293, allocations: 0 / 497.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.1294, allocations: 36.05 kB / 497.7 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1297, allocations: 31.42 kB / 497.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.1302, allocations: 336.6 kB / 498.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1304, allocations: 0.7199 MB / 498.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.1305, allocations: 15.44 kB / 498.8 MB, free: 2.535 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1305, allocations: 0 / 498.8 MB, free: 2.535 MB / 378.7 MB Notification: Performance of Templates: time 0.003476/0.134, allocations: 2.054 MB / 0.4891 GB, free: 492 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches