Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009137/0.0009137, allocations: 95.89 kB / 15.68 MB, free: 488 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.0009784/0.0009784, allocations: 175.4 kB / 16.56 MB, free: 6.379 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.377/1.377, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3312/0.3312, allocations: 43.54 MB / 314.5 MB, free: 9.07 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.0005412/0.0005414, allocations: 12 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1134, allocations: 58.87 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001714/0.1151, allocations: 1.38 MB / 444.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.1161, allocations: 0.7344 MB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.1162, allocations: 3.938 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1164, allocations: 31.84 kB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1166, allocations: 43.88 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1168, allocations: 71.78 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1169, allocations: 63.86 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.154e-05/0.117, allocations: 8.219 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.1171, allocations: 39.83 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.1172, allocations: 15.88 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1172, allocations: 8 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.1173, allocations: 35.91 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.1173, allocations: 15.92 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.1173, allocations: 33.7 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.1175, allocations: 80.09 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.1175, allocations: 0 / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1175, allocations: 0 / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.1175, allocations: 0 / 445.3 MB, free: 10.72 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.0004141/0.1179, allocations: 402.8 kB / 445.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.118, allocations: 12.03 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.118, allocations: 7.906 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1182, allocations: 199.5 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1182, allocations: 0 / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1183, allocations: 0 / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1184, allocations: 53.67 kB / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1184, allocations: 4 kB / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.1184, allocations: 0 / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1184, allocations: 3.953 kB / 446 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.1185, allocations: 31.84 kB / 446 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1188, allocations: 284.8 kB / 446.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.119, allocations: 58.67 kB / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.119, allocations: 0 / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1192, allocations: 79.41 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1192, allocations: 0 / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004739/0.1197, allocations: 165.3 kB / 446.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1198, allocations: 55.41 kB / 446.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1199, allocations: 155 kB / 446.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.1199, allocations: 29.7 kB / 446.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.12, allocations: 96.14 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.12, allocations: 27.64 kB / 446.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.12, allocations: 4 kB / 446.9 MB, free: 8.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1202, allocations: 322.8 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.1202, allocations: 20 kB / 447.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/0.1203, allocations: 33.7 kB / 447.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.1204, allocations: 23.98 kB / 447.3 MB, free: 8.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1204, allocations: 3.938 kB / 447.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001727/0.1206, allocations: 109.4 kB / 447.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1206, allocations: 11.95 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1206, allocations: 0 / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1206, allocations: 0 / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.1207, allocations: 19.92 kB / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.1207, allocations: 4 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.1208, allocations: 384 / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1208, allocations: 4 kB / 447.5 MB, free: 8.316 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 8.82e-05/0.1209, allocations: 129.8 kB / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.1209, allocations: 11.94 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.121, allocations: 16.67 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.121, allocations: 0 / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.121, allocations: 4 kB / 447.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.121, allocations: 3.984 kB / 447.7 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.1214, allocations: 383.5 kB / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1214, allocations: 4 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1214, allocations: 7.984 kB / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1215, allocations: 8.031 kB / 448 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1215, allocations: 192 / 448 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1215, allocations: 0 / 448 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1215, allocations: 7.938 kB / 448.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.1217, allocations: 213.9 kB / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.1218, allocations: 96.91 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1218, allocations: 8 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.1219, allocations: 0 / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1219, allocations: 11.98 kB / 448.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.122, allocations: 4 kB / 448.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.409e-05/0.1221, allocations: 124.5 kB / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1221, allocations: 0 / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1223, allocations: 20 kB / 448.5 MB, free: 7.176 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.0009182/0.1232, allocations: 465 kB / 449 MB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.1234, allocations: 55.92 kB / 449 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1234, allocations: 0 / 449 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1236, allocations: 35.98 kB / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.1238, allocations: 27.94 kB / 449.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.1242, allocations: 210 kB / 449.3 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1244, allocations: 0.7044 MB / 450 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.1245, allocations: 17.17 kB / 450 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.1245, allocations: 19.44 kB / 450 MB, free: 5.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1246, allocations: 3.938 kB / 450 MB, free: 5.625 MB / 382.1 MB Notification: Performance of Templates: time 0.003925/0.1285, allocations: 1.579 MB / 451.6 MB, free: 4.047 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches