Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.00149, allocations: 181.6 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.012/2.012, 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.001133/0.001132, 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.2846/0.2846, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.827e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4834/0.6079, allocations: 87.41 MB / 0.5582 GB, free: 224 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.6082, allocations: 80.7 kB / 0.5582 GB, free: 184 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02245/0.6307, allocations: 5.099 MB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6307, allocations: 0 / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.6307, allocations: 0 / 0.5632 GB, free: 11.88 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.0005209/0.6313, allocations: 385 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.6313, allocations: 8.031 kB / 0.5636 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.6314, allocations: 11.84 kB / 0.5636 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.6318, allocations: 219.9 kB / 0.5638 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.6318, allocations: 0 / 0.5638 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.6318, allocations: 4 kB / 0.5638 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.632, allocations: 43 kB / 0.5639 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.632, allocations: 0 / 0.5639 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.632, allocations: 3 kB / 0.5639 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.632, allocations: 4 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.6321, allocations: 14.8 kB / 0.5639 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.6324, allocations: 182.7 kB / 0.5641 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.6326, allocations: 52.94 kB / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.6326, allocations: 19.92 kB / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.6327, allocations: 0 / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.6329, allocations: 73.06 kB / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.6329, allocations: 0 / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002884/0.6332, allocations: 84.58 kB / 0.5643 GB, free: 10.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.6332, allocations: 51.41 kB / 0.5643 GB, free: 10.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.6335, allocations: 159.9 kB / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.6335, allocations: 25.7 kB / 0.5645 GB, free: 10.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.6336, allocations: 163.7 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.6336, allocations: 11.41 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.6337, allocations: 0 / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6338, allocations: 318 kB / 0.565 GB, free: 9.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.6338, allocations: 15.17 kB / 0.565 GB, free: 9.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.955e-05/0.6339, allocations: 27.66 kB / 0.565 GB, free: 9.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.634, allocations: 14.58 kB / 0.565 GB, free: 9.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.634, allocations: 0 / 0.565 GB, free: 9.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001832/0.6342, allocations: 82.02 kB / 0.5651 GB, free: 9.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6342, allocations: 4 kB / 0.5651 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6342, allocations: 0 / 0.5651 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6343, allocations: 4 kB / 0.5651 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.6344, allocations: 12.03 kB / 0.5651 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.6345, allocations: 4.141 kB / 0.5651 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.6346, allocations: 11.67 kB / 0.5651 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.6346, allocations: 128 / 0.5651 GB, free: 9.82 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 9.905e-05/0.6347, allocations: 116.9 kB / 0.5652 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.6348, allocations: 11.91 kB / 0.5653 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.635, allocations: 91.45 kB / 0.5653 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.6351, allocations: 0 / 0.5653 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6351, allocations: 0 / 0.5653 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6351, allocations: 4 kB / 0.5653 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.6353, allocations: 188.1 kB / 0.5655 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6353, allocations: 7.891 kB / 0.5655 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.6354, allocations: 4 kB / 0.5655 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6354, allocations: 3.938 kB / 0.5655 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.6354, allocations: 7.359 kB / 0.5655 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.6355, allocations: 4 kB / 0.5656 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6355, allocations: 0 / 0.5656 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.6357, allocations: 110.9 kB / 0.5657 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.6358, allocations: 92.95 kB / 0.5657 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.6359, allocations: 3.312 kB / 0.5658 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.6359, allocations: 4 kB / 0.5658 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.636, allocations: 3.984 kB / 0.5658 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.636, allocations: 4 kB / 0.5658 GB, free: 9.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.6362, allocations: 126.1 kB / 0.5659 GB, free: 9.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.995e-06/0.6362, allocations: 0 / 0.5659 GB, free: 9.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.6365, allocations: 30.73 kB / 0.5659 GB, free: 8.984 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.00112/0.6376, allocations: 386.3 kB / 0.5663 GB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.6378, allocations: 32.69 kB / 0.5663 GB, free: 8.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6379, allocations: 0 / 0.5663 GB, free: 8.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.6379, allocations: 31.05 kB / 0.5663 GB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.6383, allocations: 21.22 kB / 0.5664 GB, free: 8.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.6388, allocations: 158.1 kB / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.6391, allocations: 0.7121 MB / 0.5672 GB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.6392, allocations: 18.73 kB / 0.5672 GB, free: 7.68 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6392, allocations: 0 / 0.5672 GB, free: 7.68 MB / 378.7 MB Notification: Performance of Templates: time 0.00501/0.6442, allocations: 1.672 MB / 0.5689 GB, free: 6.012 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches