Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 96.28 kB / 15.69 MB, free: 480 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.001198/0.001198, allocations: 177.2 kB / 16.57 MB, free: 6.852 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.395/1.395, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3193/0.3193, allocations: 43.55 MB / 314.5 MB, free: 9.047 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.0005195/0.0005195, allocations: 19.98 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002033/0.1203, allocations: 1.384 MB / 444.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1221, allocations: 1.309 MB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.1222, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1224, allocations: 27.91 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1226, allocations: 51.81 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1229, allocations: 71.78 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.123, allocations: 59.86 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.1231, allocations: 12.22 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.1232, allocations: 39.83 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1233, allocations: 27.84 kB / 445.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1233, allocations: 4 kB / 445.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.1234, allocations: 43.92 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.1235, allocations: 15.92 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1235, allocations: 37.64 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1236, allocations: 92.08 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.1237, allocations: 0 / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1237, allocations: 0 / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1237, allocations: 0 / 445.9 MB, free: 10.11 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.0005241/0.1242, allocations: 394.9 kB / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1242, allocations: 8.031 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.1243, allocations: 15.91 kB / 446.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1245, allocations: 202.9 kB / 446.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1246, allocations: 0 / 446.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1246, allocations: 8 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1247, allocations: 67.33 kB / 446.6 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1248, allocations: 3.953 kB / 446.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1248, allocations: 11.92 kB / 446.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1248, allocations: 0 / 446.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.1249, allocations: 19.98 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.1252, allocations: 277 kB / 446.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1254, allocations: 62.61 kB / 447 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1254, allocations: 3.953 kB / 447 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.1256, allocations: 67.52 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1256, allocations: 0 / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004904/0.1261, allocations: 177.3 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1261, allocations: 81.11 kB / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1263, allocations: 142.5 kB / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1263, allocations: 33.7 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.1264, allocations: 92.12 kB / 447.6 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1264, allocations: 31.62 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1264, allocations: 4 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1265, allocations: 318.8 kB / 447.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.1266, allocations: 23.98 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.1266, allocations: 42.5 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.1267, allocations: 23.95 kB / 448 MB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1267, allocations: 0 / 448 MB, free: 7.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.1269, allocations: 109.5 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1269, allocations: 4 kB / 448.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.127, allocations: 0 / 448.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.127, allocations: 0 / 448.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.1271, allocations: 23.92 kB / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1271, allocations: 0 / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.1271, allocations: 4 kB / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1271, allocations: 0 / 448.1 MB, free: 7.66 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.656e-05/0.1272, allocations: 137.2 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1273, allocations: 7.906 kB / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.1273, allocations: 16.86 kB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1273, allocations: 0 / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1273, allocations: 0 / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1273, allocations: 3.938 kB / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.1277, allocations: 391.3 kB / 448.7 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1278, allocations: 0 / 448.7 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.1278, allocations: 20.14 kB / 448.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1278, allocations: 4 kB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1278, allocations: 3.938 kB / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1278, allocations: 0 / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1278, allocations: 0 / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.128, allocations: 213.9 kB / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.1281, allocations: 93 kB / 449 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1281, allocations: 4 kB / 449 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.1282, allocations: 4 kB / 449 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1283, allocations: 11.92 kB / 449 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1283, allocations: 4 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.36e-05/0.1284, allocations: 119.2 kB / 449.1 MB, free: 6.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1284, allocations: 0 / 449.1 MB, free: 6.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1287, allocations: 28 kB / 449.2 MB, free: 6.516 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.001067/0.1297, allocations: 0.5049 MB / 449.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1299, allocations: 59.92 kB / 449.7 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1299, allocations: 0 / 449.7 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.13, allocations: 28.14 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.1303, allocations: 28.11 kB / 449.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.1307, allocations: 210.1 kB / 450 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1309, allocations: 0.7004 MB / 450.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.083e-05/0.131, allocations: 12.88 kB / 450.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.1311, allocations: 23.42 kB / 450.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1311, allocations: 3.938 kB / 450.7 MB, free: 4.922 MB / 382.1 MB Notification: Performance of Templates: time 0.004085/0.1352, allocations: 1.834 MB / 452.6 MB, free: 3.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches