Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002141/0.00214, allocations: 177.8 kB / 8.36 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.394/2.394, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001657/0.001657, allocations: 88.33 kB / 262.1 MB, free: 13.87 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.423/0.423, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.976e-05, allocations: 8.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4427, allocations: 58.85 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.6069, allocations: 86.95 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6073, allocations: 71.97 kB / 0.5509 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02475/0.632, allocations: 5.46 MB / 0.5562 GB, free: 6.82 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6321, allocations: 4 kB / 0.5562 GB, free: 6.816 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.6321, allocations: 4 kB / 0.5562 GB, free: 6.812 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.0006115/0.6328, allocations: 394.2 kB / 0.5566 GB, free: 6.383 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.6328, allocations: 8.031 kB / 0.5566 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.6329, allocations: 15.81 kB / 0.5566 GB, free: 6.359 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.6333, allocations: 218.8 kB / 0.5568 GB, free: 6.105 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.6334, allocations: 4 kB / 0.5568 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.6334, allocations: 0 / 0.5568 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.895e-05/0.6335, allocations: 23.98 kB / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.6337, allocations: 57.61 kB / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6337, allocations: 0 / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.6337, allocations: 0 / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6337, allocations: 0 / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.6342, allocations: 273.4 kB / 0.5572 GB, free: 5.711 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.6344, allocations: 50.69 kB / 0.5572 GB, free: 5.652 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.6344, allocations: 24.92 kB / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.6345, allocations: 3.938 kB / 0.5573 GB, free: 5.621 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.6347, allocations: 67.39 kB / 0.5573 GB, free: 5.543 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/0.6347, allocations: 3.938 kB / 0.5573 GB, free: 5.539 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006241/0.6353, allocations: 145.2 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.6354, allocations: 59.39 kB / 0.5575 GB, free: 5.32 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.6357, allocations: 177.5 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.6357, allocations: 37.7 kB / 0.5577 GB, free: 5.094 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.6358, allocations: 162.5 kB / 0.5579 GB, free: 4.934 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.6359, allocations: 19.72 kB / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.6359, allocations: 0 / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.6361, allocations: 314.8 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.6361, allocations: 19.98 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.6362, allocations: 33.72 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/0.6363, allocations: 27.97 kB / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.6363, allocations: 0 / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002253/0.6366, allocations: 85.53 kB / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.6366, allocations: 8 kB / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6366, allocations: 0 / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.6366, allocations: 0 / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.6368, allocations: 15.98 kB / 0.5584 GB, free: 4.398 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6368, allocations: 4 kB / 0.5584 GB, free: 4.395 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-05/0.6369, allocations: 3.938 kB / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.637, allocations: 7.953 kB / 0.5584 GB, free: 4.383 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 0.0001129/0.6371, allocations: 113 kB / 0.5585 GB, free: 4.266 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.6371, allocations: 7.906 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.6375, allocations: 107.7 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6375, allocations: 4 kB / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.6375, allocations: 0 / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.6375, allocations: 8.109 kB / 0.5586 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.6382, allocations: 395.8 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.6382, allocations: 4.266 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.6383, allocations: 11.94 kB / 0.559 GB, free: 3.688 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.6383, allocations: 0 / 0.559 GB, free: 3.688 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.6384, allocations: 7.938 kB / 0.559 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6384, allocations: 0 / 0.559 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6384, allocations: 0 / 0.559 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.6387, allocations: 213.9 kB / 0.5592 GB, free: 3.445 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.6389, allocations: 104.9 kB / 0.5593 GB, free: 3.324 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.6389, allocations: 7.938 kB / 0.5593 GB, free: 3.316 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.639, allocations: 0 / 0.5593 GB, free: 3.316 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.6391, allocations: 11.94 kB / 0.5594 GB, free: 3.305 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.6391, allocations: 4 kB / 0.5594 GB, free: 3.301 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.6393, allocations: 152.2 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6394, allocations: 0 / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.6398, allocations: 35.98 kB / 0.5595 GB, free: 3.117 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.001188/0.641, allocations: 391.6 kB / 0.5599 GB, free: 2.777 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.6412, allocations: 51.94 kB / 0.56 GB, free: 2.727 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6412, allocations: 0 / 0.56 GB, free: 2.727 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-05/0.6413, allocations: 35.92 kB / 0.56 GB, free: 2.691 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.6418, allocations: 27.78 kB / 0.56 GB, free: 2.664 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.6424, allocations: 199.8 kB / 0.5602 GB, free: 2.438 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.6428, allocations: 0.7198 MB / 0.5609 GB, free: 1.691 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.6429, allocations: 15.44 kB / 0.5609 GB, free: 1.676 MB / 395.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6429, allocations: 4 kB / 0.5609 GB, free: 1.672 MB / 395.1 MB Notification: Performance of Templates: time 0.005899/0.6488, allocations: 1.989 MB / 0.5629 GB, free: 15.69 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches