Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009732, allocations: 97.53 kB / 15.69 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.001009/0.001009, allocations: 173.6 kB / 16.57 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.321/1.321, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3426/0.3426, allocations: 43.54 MB / 314.5 MB, free: 8.758 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.0005142/0.0005144, allocations: 16 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1183, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001948/0.1203, allocations: 1.384 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1214, allocations: 0.7344 MB / 444.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.1215, allocations: 0 / 444.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1218, allocations: 31.84 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1219, allocations: 51.81 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1222, allocations: 71.78 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1223, allocations: 59.86 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.1224, allocations: 16.2 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.1225, allocations: 35.84 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.1226, allocations: 27.86 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1226, allocations: 4 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.1227, allocations: 39.84 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.1227, allocations: 7.984 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.1227, allocations: 41.64 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1229, allocations: 84.09 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.1229, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1229, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1229, allocations: 4 kB / 445.3 MB, free: 10.46 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.0004535/0.1234, allocations: 418.7 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.1234, allocations: 8.031 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1235, allocations: 7.906 kB / 445.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1237, allocations: 195.6 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1237, allocations: 11.98 kB / 446 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.1238, allocations: 3.938 kB / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1239, allocations: 57.67 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1239, allocations: 3.906 kB / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1239, allocations: 4 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1239, allocations: 3.953 kB / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.124, allocations: 23.92 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.1243, allocations: 284.9 kB / 446.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1245, allocations: 62.66 kB / 446.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1245, allocations: 0 / 446.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.1247, allocations: 75.41 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1247, allocations: 0 / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004718/0.1252, allocations: 169.2 kB / 446.6 MB, free: 8.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1253, allocations: 59.39 kB / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1254, allocations: 195.3 kB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1255, allocations: 25.7 kB / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1255, allocations: 100.1 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1256, allocations: 27.7 kB / 447 MB, free: 8.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.1256, allocations: 0 / 447 MB, free: 8.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1257, allocations: 322.8 kB / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.454e-05/0.1258, allocations: 23.98 kB / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.1258, allocations: 33.7 kB / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.979e-05/0.1259, allocations: 24.06 kB / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1259, allocations: 0 / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.1261, allocations: 113.4 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1261, allocations: 11.94 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1261, allocations: 3.938 kB / 447.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1261, allocations: 0 / 447.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.1262, allocations: 16 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1262, allocations: 3.938 kB / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.1263, allocations: 7.984 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1263, allocations: 0 / 447.6 MB, free: 7.992 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 9.893e-05/0.1264, allocations: 137.8 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.1264, allocations: 7.906 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.1265, allocations: 25.34 kB / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1265, allocations: 0 / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1265, allocations: 0 / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1265, allocations: 192 / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1269, allocations: 399.2 kB / 448.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.127, allocations: 3.938 kB / 448.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.127, allocations: 16.02 kB / 448.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.127, allocations: 0 / 448.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.127, allocations: 384 / 448.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.127, allocations: 4 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.127, allocations: 4 kB / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1273, allocations: 213.9 kB / 448.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.1273, allocations: 97 kB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1274, allocations: 0 / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1274, allocations: 4 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1275, allocations: 7.984 kB / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1275, allocations: 4 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1276, allocations: 152.9 kB / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1276, allocations: 0 / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1279, allocations: 23.91 kB / 448.7 MB, free: 6.805 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.001043/0.1289, allocations: 460.5 kB / 449.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1291, allocations: 55.91 kB / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1292, allocations: 0 / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/0.1292, allocations: 44.12 kB / 449.2 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.1295, allocations: 23.94 kB / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.13, allocations: 242.5 kB / 449.5 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1303, allocations: 0.7121 MB / 450.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.281e-05/0.1304, allocations: 8.891 kB / 450.2 MB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.1304, allocations: 23.36 kB / 450.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1304, allocations: 0 / 450.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of Templates: time 0.004346/0.1348, allocations: 1.587 MB / 451.8 MB, free: 3.641 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches