Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009062/0.0009063, allocations: 96.67 kB / 15.7 MB, free: 468 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.001022/0.001022, allocations: 176 kB / 16.57 MB, free: 6.402 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.367/1.367, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3081/0.3081, 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.0005052/0.0005053, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.115, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001963/0.117, allocations: 1.395 MB / 444.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1181, allocations: 0.7344 MB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1182, allocations: 3.938 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1184, allocations: 23.91 kB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.1186, allocations: 51.81 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1189, allocations: 71.84 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.119, allocations: 63.84 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.1191, allocations: 12.22 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.1192, allocations: 35.84 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.1193, allocations: 27.86 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1193, allocations: 0 / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.092e-05/0.1194, allocations: 35.92 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.1194, allocations: 23.91 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.1195, allocations: 37.64 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1196, allocations: 92.08 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1196, allocations: 4 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1196, allocations: 0 / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1197, allocations: 0 / 445.4 MB, free: 10.68 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.0004843/0.1201, allocations: 414.8 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1202, allocations: 11.97 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.1202, allocations: 15.81 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1205, allocations: 202.9 kB / 446 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1205, allocations: 11.94 kB / 446 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1205, allocations: 0 / 446 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1206, allocations: 53.67 kB / 446.1 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1207, allocations: 0 / 446.1 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1207, allocations: 4 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1207, allocations: 3.953 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.1208, allocations: 15.98 kB / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.1211, allocations: 296.8 kB / 446.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1212, allocations: 62.61 kB / 446.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1213, allocations: 3.984 kB / 446.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1215, allocations: 79.47 kB / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1215, allocations: 0 / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004679/0.1219, allocations: 169.2 kB / 446.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.122, allocations: 51.41 kB / 446.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1222, allocations: 218.7 kB / 446.9 MB, free: 8.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1222, allocations: 29.7 kB / 447 MB, free: 8.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.1223, allocations: 112 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1223, allocations: 23.66 kB / 447.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.1223, allocations: 0 / 447.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1225, allocations: 330.8 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.1225, allocations: 23.92 kB / 447.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.1226, allocations: 37.64 kB / 447.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.527e-05/0.1226, allocations: 24 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1227, allocations: 0 / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001632/0.1228, allocations: 105.5 kB / 447.6 MB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.1229, allocations: 11.98 kB / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1229, allocations: 0 / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1229, allocations: 0 / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.123, allocations: 19.98 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.123, allocations: 0 / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.123, allocations: 8 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1231, allocations: 0 / 447.7 MB, free: 8.156 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.28e-05/0.1232, allocations: 129.8 kB / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.1232, allocations: 16 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.1232, allocations: 21.36 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1232, allocations: 7.938 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1232, allocations: 7.922 kB / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1233, allocations: 0 / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.1237, allocations: 391.3 kB / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1237, allocations: 0 / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.1237, allocations: 11.94 kB / 448.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1237, allocations: 0 / 448.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1238, allocations: 12.02 kB / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1238, allocations: 0 / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1238, allocations: 0 / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.124, allocations: 213.9 kB / 448.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.1241, allocations: 89.02 kB / 448.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1241, allocations: 7.984 kB / 448.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1242, allocations: 4 kB / 448.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1242, allocations: 8.312 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1242, allocations: 11.98 kB / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1244, allocations: 164.3 kB / 448.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1244, allocations: 0 / 448.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1246, allocations: 31.98 kB / 448.8 MB, free: 6.941 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.0009768/0.1256, allocations: 465.2 kB / 449.2 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1258, allocations: 55.92 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1258, allocations: 0 / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/0.1259, allocations: 27.98 kB / 449.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1261, allocations: 32.19 kB / 449.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.1266, allocations: 286.1 kB / 449.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1269, allocations: 0.7121 MB / 450.3 MB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.1269, allocations: 16.81 kB / 450.3 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.127, allocations: 19.44 kB / 450.3 MB, free: 5.324 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.127, allocations: 0 / 450.3 MB, free: 5.324 MB / 382.1 MB Notification: Performance of Templates: time 0.004012/0.131, allocations: 1.6 MB / 451.9 MB, free: 3.727 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches