Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009589/0.0009591, allocations: 178.3 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007652/0.0007652, allocations: 90.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3058/0.3058, allocations: 43.55 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 16 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 58.85 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2867/0.3901, allocations: 87.76 MB / 0.5656 GB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3903, allocations: 71.95 kB / 0.5657 GB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.4048, allocations: 5.51 MB / 0.5711 GB, free: 8.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4048, allocations: 3.188 kB / 0.5711 GB, free: 8.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.4049, allocations: 0 / 0.5711 GB, free: 8.957 MB / 394.7 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.0004841/0.4054, allocations: 437.9 kB / 0.5715 GB, free: 8.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4054, allocations: 8.031 kB / 0.5715 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.4055, allocations: 12.75 kB / 0.5715 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.4057, allocations: 221.2 kB / 0.5717 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4058, allocations: 384 / 0.5717 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.4058, allocations: 8.375 kB / 0.5718 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.406, allocations: 54.92 kB / 0.5718 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.406, allocations: 192 / 0.5718 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.406, allocations: 11.92 kB / 0.5718 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.406, allocations: 0 / 0.5718 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.4061, allocations: 31.91 kB / 0.5718 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.4065, allocations: 289 kB / 0.5721 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.4066, allocations: 58.61 kB / 0.5722 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.4067, allocations: 24.84 kB / 0.5722 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.4067, allocations: 12 kB / 0.5722 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.4069, allocations: 67.31 kB / 0.5723 GB, free: 7.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4069, allocations: 0 / 0.5723 GB, free: 7.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005276/0.4074, allocations: 177.2 kB / 0.5724 GB, free: 7.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.4075, allocations: 51.41 kB / 0.5725 GB, free: 7.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.4077, allocations: 216.6 kB / 0.5727 GB, free: 7.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4077, allocations: 25.7 kB / 0.5727 GB, free: 7.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.4078, allocations: 116 kB / 0.5728 GB, free: 6.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.4078, allocations: 19.72 kB / 0.5729 GB, free: 6.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.4078, allocations: 0 / 0.5729 GB, free: 6.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4079, allocations: 334.8 kB / 0.5732 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/0.408, allocations: 16 kB / 0.5732 GB, free: 6.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.516e-05/0.4081, allocations: 38.45 kB / 0.5732 GB, free: 6.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4082, allocations: 66.42 kB / 0.5733 GB, free: 6.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4082, allocations: 0 / 0.5733 GB, free: 6.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.4084, allocations: 106.2 kB / 0.5734 GB, free: 6.379 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4084, allocations: 4.625 kB / 0.5734 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4084, allocations: 0 / 0.5734 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4085, allocations: 4 kB / 0.5734 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.4086, allocations: 19.92 kB / 0.5734 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4086, allocations: 0.75 kB / 0.5734 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.4086, allocations: 4 kB / 0.5734 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4086, allocations: 8.031 kB / 0.5734 GB, free: 6.34 MB / 394.7 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 0.0001092/0.4088, allocations: 133.8 kB / 0.5736 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.4088, allocations: 15.81 kB / 0.5736 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.409, allocations: 127.3 kB / 0.5737 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4091, allocations: 0 / 0.5737 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4091, allocations: 0 / 0.5737 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4091, allocations: 7.938 kB / 0.5737 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.4095, allocations: 427.2 kB / 0.5741 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4096, allocations: 0 / 0.5741 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.4096, allocations: 8 kB / 0.5741 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4096, allocations: 0 / 0.5741 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4096, allocations: 7.984 kB / 0.5741 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4096, allocations: 3.938 kB / 0.5741 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.4096, allocations: 3.938 kB / 0.5741 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.4099, allocations: 212.2 kB / 0.5743 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.4099, allocations: 97 kB / 0.5744 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.41, allocations: 4.375 kB / 0.5744 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.41, allocations: 0 / 0.5744 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.4101, allocations: 15.92 kB / 0.5744 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4101, allocations: 8 kB / 0.5745 GB, free: 5.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.4102, allocations: 156.2 kB / 0.5746 GB, free: 5.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4103, allocations: 4 kB / 0.5746 GB, free: 5.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.4105, allocations: 39.92 kB / 0.5746 GB, free: 4.984 MB / 394.7 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 (9): * Single equations (assignments): 7 * 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.0009747/0.4115, allocations: 470.8 kB / 0.5751 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.4117, allocations: 67.84 kB / 0.5752 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4117, allocations: 4 kB / 0.5752 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.4118, allocations: 31.92 kB / 0.5752 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.4121, allocations: 25.02 kB / 0.5752 GB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.4126, allocations: 307.4 kB / 0.5755 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.4129, allocations: 0.7004 MB / 0.5762 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.4129, allocations: 23.42 kB / 0.5762 GB, free: 3.422 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4129, allocations: 0 / 0.5762 GB, free: 3.422 MB / 394.7 MB Notification: Performance of Templates: time 0.003415/0.4164, allocations: 1.986 MB / 0.5782 GB, free: 1.445 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches