Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009563/0.0009564, allocations: 96.52 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009273/0.0009274, allocations: 176.1 kB / 16.57 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3302/0.3302, allocations: 43.56 MB / 314.5 MB, free: 9.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 19.98 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 58.86 MB / 442.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00389/0.1162, allocations: 1.384 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1182, allocations: 0.7344 MB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1183, allocations: 0 / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1187, allocations: 23.84 kB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.119, allocations: 47.88 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1193, allocations: 79.77 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1195, allocations: 55.88 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1197, allocations: 12.2 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1198, allocations: 35.84 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.1199, allocations: 31.84 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1199, allocations: 0 / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.12, allocations: 27.94 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1201, allocations: 23.92 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.1202, allocations: 37.64 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1204, allocations: 84.08 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1204, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1204, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1204, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 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.0007067/0.1211, allocations: 406.8 kB / 445.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1212, allocations: 8.031 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.1212, allocations: 7.906 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1215, allocations: 218.7 kB / 446 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1216, allocations: 0 / 446 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1216, allocations: 4 kB / 446 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1218, allocations: 53.67 kB / 446 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1218, allocations: 0 / 446 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1219, allocations: 0 / 446 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1219, allocations: 7.891 kB / 446 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.122, allocations: 19.98 kB / 446 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.1226, allocations: 284.9 kB / 446.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1228, allocations: 58.67 kB / 446.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1229, allocations: 0 / 446.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.1232, allocations: 75.38 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/0.1232, allocations: 0 / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006056/0.1238, allocations: 165.3 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1239, allocations: 55.41 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1241, allocations: 190.1 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1241, allocations: 29.7 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.1242, allocations: 100.1 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.1242, allocations: 27.69 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.1243, allocations: 0 / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1244, allocations: 326.8 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.1245, allocations: 23.98 kB / 447.3 MB, free: 8.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.1245, allocations: 33.7 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.557e-05/0.1246, allocations: 20 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1247, allocations: 0 / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002461/0.1249, allocations: 101.5 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1249, allocations: 7.953 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.125, allocations: 12.33 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.125, allocations: 0 / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1251, allocations: 19.98 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1251, allocations: 0 / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.1252, allocations: 8 kB / 447.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1252, allocations: 0 / 447.5 MB, free: 8.246 MB / 382.1 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.0001393/0.1254, allocations: 137.8 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1254, allocations: 7.906 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.1254, allocations: 20.81 kB / 447.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1255, allocations: 4 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1255, allocations: 0 / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1255, allocations: 4 kB / 447.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.126, allocations: 399.2 kB / 448.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.126, allocations: 0 / 448.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.1261, allocations: 8 kB / 448.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1261, allocations: 192 / 448.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1261, allocations: 4 kB / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.75e-05/0.1262, allocations: 11.95 kB / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1262, allocations: 0 / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1265, allocations: 213.9 kB / 448.3 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.1266, allocations: 88.92 kB / 448.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1266, allocations: 4 kB / 448.4 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1267, allocations: 11.98 kB / 448.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1268, allocations: 4 kB / 448.4 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1268, allocations: 4 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1269, allocations: 148 kB / 448.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.127, allocations: 0 / 448.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003756/0.1273, allocations: 20 kB / 448.6 MB, free: 7.07 MB / 382.1 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.001298/0.1286, allocations: 467.7 kB / 449.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1289, allocations: 55.91 kB / 449.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1289, allocations: 0 / 449.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.129, allocations: 27.98 kB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1293, allocations: 32 kB / 449.2 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.1299, allocations: 234.4 kB / 449.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.1303, allocations: 0.7083 MB / 450.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.1304, allocations: 21.17 kB / 450.1 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.1305, allocations: 15.44 kB / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1305, allocations: 0 / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of Templates: time 0.005119/0.1356, allocations: 1.591 MB / 451.7 MB, free: 3.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches