Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0021/0.002099, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 92.28 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2899/0.2899, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.586e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.442, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.6022, allocations: 86.92 MB / 0.5508 GB, free: 12.36 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6025, allocations: 79.95 kB / 0.5509 GB, free: 12.29 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02382/0.6264, allocations: 5.228 MB / 0.556 GB, free: 7.062 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6264, allocations: 0 / 0.556 GB, free: 7.062 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.6265, allocations: 3.938 kB / 0.556 GB, free: 7.059 MB / 395.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.0005711/0.6271, allocations: 386.3 kB / 0.5564 GB, free: 6.637 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6271, allocations: 8.031 kB / 0.5564 GB, free: 6.629 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.6272, allocations: 11.91 kB / 0.5564 GB, free: 6.617 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.6276, allocations: 225.5 kB / 0.5566 GB, free: 6.359 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.6276, allocations: 4 kB / 0.5566 GB, free: 6.355 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.6277, allocations: 4 kB / 0.5566 GB, free: 6.352 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.207e-05/0.6278, allocations: 15.98 kB / 0.5566 GB, free: 6.336 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.6279, allocations: 49.67 kB / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6279, allocations: 0 / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6279, allocations: 0 / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.628, allocations: 0 / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.6284, allocations: 269.4 kB / 0.5569 GB, free: 5.98 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.6286, allocations: 58.69 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.6287, allocations: 16.98 kB / 0.557 GB, free: 5.895 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.6287, allocations: 0 / 0.557 GB, free: 5.895 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.6289, allocations: 63.39 kB / 0.557 GB, free: 5.82 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.6289, allocations: 0 / 0.557 GB, free: 5.82 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.6295, allocations: 157.1 kB / 0.5572 GB, free: 5.66 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.6295, allocations: 51.41 kB / 0.5572 GB, free: 5.598 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.6298, allocations: 166.2 kB / 0.5574 GB, free: 5.43 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.6298, allocations: 33.69 kB / 0.5574 GB, free: 5.391 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.6299, allocations: 162.6 kB / 0.5576 GB, free: 5.23 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.63, allocations: 19.72 kB / 0.5576 GB, free: 5.211 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.63, allocations: 3.938 kB / 0.5576 GB, free: 5.207 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6301, allocations: 314.8 kB / 0.5579 GB, free: 4.891 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.6302, allocations: 24 kB / 0.5579 GB, free: 4.867 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.687e-05/0.6303, allocations: 33.66 kB / 0.558 GB, free: 4.828 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.109e-05/0.6304, allocations: 19.98 kB / 0.558 GB, free: 4.809 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6304, allocations: 0 / 0.558 GB, free: 4.809 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002113/0.6306, allocations: 85.59 kB / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6306, allocations: 4 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6307, allocations: 0 / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.6307, allocations: 0 / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.6308, allocations: 23.92 kB / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6309, allocations: 4.031 kB / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.6309, allocations: 192 / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.631, allocations: 11.95 kB / 0.5581 GB, free: 4.676 MB / 395.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 () * 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.604e-05/0.6311, allocations: 105 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.6311, allocations: 15.88 kB / 0.5582 GB, free: 4.551 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.6314, allocations: 110.3 kB / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6315, allocations: 0 / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6315, allocations: 4 kB / 0.5583 GB, free: 4.434 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6315, allocations: 7.984 kB / 0.5583 GB, free: 4.426 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.6321, allocations: 379.7 kB / 0.5587 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6321, allocations: 0 / 0.5587 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.6322, allocations: 12 kB / 0.5587 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.6322, allocations: 0 / 0.5587 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.6322, allocations: 7.984 kB / 0.5587 GB, free: 3.988 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6323, allocations: 4 kB / 0.5587 GB, free: 3.984 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6323, allocations: 0 / 0.5587 GB, free: 3.984 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.6326, allocations: 214.2 kB / 0.5589 GB, free: 3.75 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.6327, allocations: 89.11 kB / 0.559 GB, free: 3.645 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.6327, allocations: 11.92 kB / 0.559 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.6329, allocations: 0 / 0.559 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.6329, allocations: 7.953 kB / 0.559 GB, free: 3.625 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.6329, allocations: 15.92 kB / 0.5591 GB, free: 3.609 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.6331, allocations: 136.1 kB / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6331, allocations: 0 / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.6335, allocations: 35.89 kB / 0.5592 GB, free: 3.441 MB / 395.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) * 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.001136/0.6347, allocations: 393.9 kB / 0.5596 GB, free: 3.102 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.6349, allocations: 47.94 kB / 0.5596 GB, free: 3.055 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6349, allocations: 0 / 0.5596 GB, free: 3.055 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.635, allocations: 35.91 kB / 0.5597 GB, free: 3.02 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.6354, allocations: 31.91 kB / 0.5597 GB, free: 2.988 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.6359, allocations: 198.9 kB / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.6363, allocations: 0.708 MB / 0.5606 GB, free: 2.02 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.6363, allocations: 15.44 kB / 0.5606 GB, free: 2.004 MB / 395.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6364, allocations: 0 / 0.5606 GB, free: 2.004 MB / 395.1 MB Notification: Performance of Templates: time 0.005458/0.6418, allocations: 1.92 MB / 0.5625 GB, free: 92 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches