Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001066/0.001066, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2721/0.2721, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.46e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.603, allocations: 87.45 MB / 0.5582 GB, free: 148 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.6033, allocations: 78.39 kB / 0.5583 GB, free: 108 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.6273, allocations: 5.212 MB / 0.5634 GB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6273, allocations: 0 / 0.5634 GB, free: 11.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.6274, allocations: 0 / 0.5634 GB, free: 11.71 MB / 378.7 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.0005944/0.628, allocations: 385.7 kB / 0.5637 GB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.628, allocations: 12.03 kB / 0.5637 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.6281, allocations: 7.906 kB / 0.5638 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.6286, allocations: 219.8 kB / 0.564 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6286, allocations: 4 kB / 0.564 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.6286, allocations: 3.125 kB / 0.564 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.6288, allocations: 49.11 kB / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6288, allocations: 0 / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.6288, allocations: 0 / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6289, allocations: 0 / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.6289, allocations: 19.88 kB / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.6292, allocations: 181.3 kB / 0.5642 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.6294, allocations: 52.44 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.6295, allocations: 20.81 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.6295, allocations: 0 / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.6297, allocations: 64.91 kB / 0.5643 GB, free: 10.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 4.448e-06/0.6297, allocations: 7.922 kB / 0.5643 GB, free: 10.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002926/0.63, allocations: 75.64 kB / 0.5644 GB, free: 10.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.6301, allocations: 55.41 kB / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.6304, allocations: 170.5 kB / 0.5646 GB, free: 10.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.6304, allocations: 29.2 kB / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.6305, allocations: 157.7 kB / 0.5648 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.6306, allocations: 23.61 kB / 0.5648 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.6306, allocations: 3.938 kB / 0.5648 GB, free: 10.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6307, allocations: 313.9 kB / 0.5651 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.6308, allocations: 11.62 kB / 0.5652 GB, free: 9.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.6309, allocations: 37.14 kB / 0.5652 GB, free: 9.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.268e-05/0.6309, allocations: 18.83 kB / 0.5652 GB, free: 9.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.631, allocations: 3.938 kB / 0.5652 GB, free: 9.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001986/0.6312, allocations: 68.5 kB / 0.5653 GB, free: 9.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.6312, allocations: 4 kB / 0.5653 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.6312, allocations: 4 kB / 0.5653 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6313, allocations: 0 / 0.5653 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.6314, allocations: 19.92 kB / 0.5653 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.6314, allocations: 4.031 kB / 0.5653 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.6315, allocations: 4 kB / 0.5653 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.6316, allocations: 3.438 kB / 0.5653 GB, free: 9.637 MB / 378.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 () * 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 0.0001093/0.6317, allocations: 108.9 kB / 0.5654 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.6317, allocations: 15.8 kB / 0.5654 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.6321, allocations: 91.14 kB / 0.5655 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6321, allocations: 0 / 0.5655 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6321, allocations: 0 / 0.5655 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6321, allocations: 0 / 0.5655 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.6324, allocations: 195.5 kB / 0.5657 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.6324, allocations: 3.953 kB / 0.5657 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.6325, allocations: 7.938 kB / 0.5657 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.6325, allocations: 0 / 0.5657 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.6325, allocations: 4 kB / 0.5657 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.6325, allocations: 0 / 0.5657 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.6326, allocations: 3.984 kB / 0.5657 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.6328, allocations: 102.8 kB / 0.5658 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.633, allocations: 104.6 kB / 0.5659 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.633, allocations: 4 kB / 0.5659 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.6331, allocations: 0 / 0.5659 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.6332, allocations: 7.984 kB / 0.5659 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.6332, allocations: 0 / 0.5659 GB, free: 8.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.6334, allocations: 148.9 kB / 0.5661 GB, free: 8.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6334, allocations: 0 / 0.5661 GB, free: 8.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.6337, allocations: 27.5 kB / 0.5661 GB, free: 8.797 MB / 378.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001152/0.6349, allocations: 385 kB / 0.5665 GB, free: 8.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.6352, allocations: 37.12 kB / 0.5665 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6352, allocations: 3.312 kB / 0.5665 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.6353, allocations: 27.36 kB / 0.5665 GB, free: 8.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.6356, allocations: 23.62 kB / 0.5666 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.6362, allocations: 164.4 kB / 0.5667 GB, free: 8.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.6366, allocations: 0.7083 MB / 0.5674 GB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.6366, allocations: 15.44 kB / 0.5674 GB, free: 7.484 MB / 378.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6367, allocations: 0 / 0.5674 GB, free: 7.484 MB / 378.7 MB Notification: Performance of Templates: time 0.005384/0.642, allocations: 1.709 MB / 0.5691 GB, free: 5.781 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches