Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 95.34 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.001455/0.001455, allocations: 177.9 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.385/1.385, 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.3341/0.3341, allocations: 43.55 MB / 314.5 MB, free: 9.051 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.0004895/0.0004895, allocations: 22.97 kB / 383.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 58.85 MB / 442.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00183/0.1114, allocations: 1.352 MB / 444.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1125, allocations: 0.7227 MB / 444.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.1126, allocations: 0 / 444.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1128, allocations: 27.84 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1131, allocations: 51.86 kB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1133, allocations: 67.8 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1135, allocations: 63.84 kB / 445 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.1136, allocations: 7.984 kB / 445 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1137, allocations: 47.83 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.1138, allocations: 23.86 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1138, allocations: 4 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.1139, allocations: 16 kB / 445.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.1139, allocations: 35.83 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.114, allocations: 37.64 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1141, allocations: 80.11 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1142, allocations: 0 / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1142, allocations: 0 / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1142, allocations: 0 / 445.3 MB, free: 10.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005518/0.1147, allocations: 426.7 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1148, allocations: 8.031 kB / 445.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.1149, allocations: 15.81 kB / 445.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1151, allocations: 206.9 kB / 445.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1152, allocations: 0 / 445.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1152, allocations: 4 kB / 445.9 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1153, allocations: 49.61 kB / 446 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1153, allocations: 0 / 446 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1154, allocations: 7.938 kB / 446 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1154, allocations: 3.953 kB / 446 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.1155, allocations: 15.94 kB / 446 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.1157, allocations: 193.7 kB / 446.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1158, allocations: 58.53 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1158, allocations: 0 / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.116, allocations: 71.39 kB / 446.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.116, allocations: 0 / 446.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002738/0.1163, allocations: 93.58 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1164, allocations: 55.36 kB / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1166, allocations: 262.5 kB / 446.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1166, allocations: 25.7 kB / 446.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.1167, allocations: 112.1 kB / 446.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1167, allocations: 19.8 kB / 446.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.1167, allocations: 4 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.1168, allocations: 330.8 kB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.1169, allocations: 12 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.1169, allocations: 29.69 kB / 447.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.645e-05/0.117, allocations: 16 kB / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.117, allocations: 0 / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001482/0.1171, allocations: 89.69 kB / 447.3 MB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1172, allocations: 7.984 kB / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1172, allocations: 64 / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1172, allocations: 8 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.1173, allocations: 8 kB / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1173, allocations: 0 / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.1173, allocations: 11.89 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1173, allocations: 0 / 447.4 MB, free: 8.398 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 (7): * Single equations (assignments): 7 * 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.858e-05/0.1174, allocations: 141.8 kB / 447.5 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.1175, allocations: 19.8 kB / 447.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.1175, allocations: 13 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1175, allocations: 4 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1175, allocations: 0 / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1175, allocations: 3.938 kB / 447.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.1177, allocations: 197.6 kB / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1177, allocations: 0 / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.1177, allocations: 7.938 kB / 447.8 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1177, allocations: 0 / 447.8 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1177, allocations: 3.984 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1177, allocations: 4 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1177, allocations: 4 kB / 447.8 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.1179, allocations: 104.9 kB / 447.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.118, allocations: 93 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.118, allocations: 0 / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.118, allocations: 7.938 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.1181, allocations: 3.984 kB / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1181, allocations: 8 kB / 448 MB, free: 7.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1183, allocations: 200 kB / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.325e-06/0.1183, allocations: 0 / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1185, allocations: 27.92 kB / 448.2 MB, free: 7.477 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008685/0.1194, allocations: 405.8 kB / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.1195, allocations: 31.98 kB / 448.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1196, allocations: 4.062 kB / 448.6 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.1196, allocations: 27.92 kB / 448.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1199, allocations: 31.81 kB / 448.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.1203, allocations: 269.8 kB / 449 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1206, allocations: 0.7199 MB / 449.7 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.863e-05/0.1206, allocations: 16.53 kB / 449.7 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.1207, allocations: 11.44 kB / 449.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1207, allocations: 0 / 449.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of Templates: time 0.003681/0.1243, allocations: 1.407 MB / 451.1 MB, free: 4.551 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches