Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 110.1 kB / 16.64 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 193.9 kB / 17.56 MB, free: 5.945 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.425/1.425, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2129/0.2129, allocations: 43.51 MB / 314.3 MB, free: 0.707 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.00152/0.00152, allocations: 76.48 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 57.79 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002857/0.1173, allocations: 1.754 MB / 442.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1184, allocations: 0.789 MB / 443.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.1185, allocations: 0 / 443.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1188, allocations: 35.84 kB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.119, allocations: 51.81 kB / 443.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1192, allocations: 79.34 kB / 443.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1194, allocations: 103.7 kB / 443.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.1195, allocations: 12.45 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.1196, allocations: 39.8 kB / 443.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.1196, allocations: 31.83 kB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1197, allocations: 4 kB / 443.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.122e-05/0.1198, allocations: 39.98 kB / 443.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.1198, allocations: 27.86 kB / 443.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.1199, allocations: 31.75 kB / 443.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.12, allocations: 91.81 kB / 443.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1201, allocations: 0 / 443.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1201, allocations: 0 / 443.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1201, allocations: 0 / 443.8 MB, free: 4.25 MB / 318.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.0005172/0.1206, allocations: 422.9 kB / 444.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1206, allocations: 11.89 kB / 444.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.1207, allocations: 12.84 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1209, allocations: 212.7 kB / 444.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1209, allocations: 8.312 kB / 444.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.1209, allocations: 8.125 kB / 444.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1211, allocations: 53.67 kB / 444.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1211, allocations: 0 / 444.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1211, allocations: 4 kB / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1212, allocations: 0 / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.1212, allocations: 15.98 kB / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1216, allocations: 284.9 kB / 444.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1217, allocations: 70.59 kB / 444.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.1218, allocations: 16.86 kB / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1218, allocations: 0 / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.122, allocations: 67.39 kB / 444.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.122, allocations: 0 / 444.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000499/0.1225, allocations: 177.1 kB / 445.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1226, allocations: 51.41 kB / 445.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1227, allocations: 201 kB / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1227, allocations: 25.7 kB / 445.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.1228, allocations: 112 kB / 445.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.1228, allocations: 23.73 kB / 445.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1228, allocations: 21.72 kB / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.1229, allocations: 330.8 kB / 445.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.123, allocations: 23.92 kB / 445.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.123, allocations: 42.02 kB / 445.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.1231, allocations: 53.72 kB / 446 MB, free: 1.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1231, allocations: 0 / 446 MB, free: 1.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001484/0.1233, allocations: 109.4 kB / 446.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1233, allocations: 11.97 kB / 446.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1233, allocations: 0 / 446.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1233, allocations: 4 kB / 446.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.1234, allocations: 15.98 kB / 446.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1234, allocations: 0 / 446.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.1235, allocations: 11.94 kB / 446.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1235, allocations: 3.938 kB / 446.1 MB, free: 1.66 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.1236, allocations: 129.8 kB / 446.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.1236, allocations: 11.81 kB / 446.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.1236, allocations: 25.41 kB / 446.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1236, allocations: 0 / 446.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1236, allocations: 0 / 446.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1236, allocations: 7.922 kB / 446.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.124, allocations: 391.5 kB / 446.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.124, allocations: 0 / 446.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.124, allocations: 8 kB / 446.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.124, allocations: 0 / 446.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.124, allocations: 11.97 kB / 446.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.124, allocations: 0 / 446.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1241, allocations: 80 / 446.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1242, allocations: 212.2 kB / 446.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.1243, allocations: 88.92 kB / 447 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1243, allocations: 3.938 kB / 447 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.1244, allocations: 8 kB / 447 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.1244, allocations: 7.984 kB / 447 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1244, allocations: 4 kB / 447 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.618e-05/0.1245, allocations: 152.9 kB / 447.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 0 / 447.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1248, allocations: 20 kB / 447.2 MB, free: 0.4922 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.1258, allocations: 479.8 kB / 447.6 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.126, allocations: 59.92 kB / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.126, allocations: 0 / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.126, allocations: 27.92 kB / 447.7 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1264, allocations: 32.34 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.1269, allocations: 277 kB / 448 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1272, allocations: 0.7119 MB / 448.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1273, allocations: 15.44 kB / 448.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1273, allocations: 4 kB / 448.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.003697/0.131, allocations: 1.913 MB / 450.7 MB, free: 13 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches