Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002259/0.002258, allocations: 182 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.137/2.137, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001583/0.001583, allocations: 86.64 kB / 267.5 MB, free: 14.05 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.2822/0.2822, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.362e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.597, allocations: 87.59 MB / 0.5583 GB, free: 32 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5974, allocations: 78.45 kB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0235/0.6209, allocations: 5.261 MB / 0.5635 GB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6209, allocations: 3.938 kB / 0.5636 GB, free: 11.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.621, allocations: 4 kB / 0.5636 GB, free: 11.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005486/0.6215, allocations: 392.9 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.6216, allocations: 8.031 kB / 0.5639 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.6216, allocations: 7.906 kB / 0.5639 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.622, allocations: 219.5 kB / 0.5642 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.6221, allocations: 4 kB / 0.5642 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.6221, allocations: 4 kB / 0.5642 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.6223, allocations: 56.72 kB / 0.5642 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6223, allocations: 0 / 0.5642 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6223, allocations: 3.625 kB / 0.5642 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.6223, allocations: 4 kB / 0.5642 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.6224, allocations: 19.11 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.6229, allocations: 289.1 kB / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.6231, allocations: 64.06 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.6232, allocations: 16.48 kB / 0.5646 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.6232, allocations: 3.984 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.6234, allocations: 62.34 kB / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.6234, allocations: 0 / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006135/0.624, allocations: 176.3 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.6241, allocations: 55.34 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.6243, allocations: 171 kB / 0.565 GB, free: 9.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.6244, allocations: 25.7 kB / 0.5651 GB, free: 9.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.6245, allocations: 160.3 kB / 0.5652 GB, free: 9.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.6245, allocations: 23.2 kB / 0.5652 GB, free: 9.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.6245, allocations: 3 kB / 0.5652 GB, free: 9.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6247, allocations: 318.8 kB / 0.5655 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.6248, allocations: 23.38 kB / 0.5656 GB, free: 9.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.6248, allocations: 36.39 kB / 0.5656 GB, free: 9.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.863e-05/0.6249, allocations: 15.56 kB / 0.5656 GB, free: 9.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6249, allocations: 192 / 0.5656 GB, free: 9.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002302/0.6252, allocations: 102.1 kB / 0.5657 GB, free: 9.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6252, allocations: 7.938 kB / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6252, allocations: 0 / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6253, allocations: 4 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.6254, allocations: 20.02 kB / 0.5657 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.6254, allocations: 3.953 kB / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.788e-05/0.6255, allocations: 7.562 kB / 0.5658 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.6256, allocations: 4 kB / 0.5658 GB, free: 9.254 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 (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.144e-05/0.6257, allocations: 111.8 kB / 0.5659 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.6257, allocations: 11.91 kB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.626, allocations: 114.3 kB / 0.566 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6261, allocations: 4 kB / 0.566 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6261, allocations: 7.938 kB / 0.566 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6261, allocations: 3.953 kB / 0.566 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.6267, allocations: 404.8 kB / 0.5664 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6268, allocations: 3.938 kB / 0.5664 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.6268, allocations: 11.98 kB / 0.5664 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.6269, allocations: 4 kB / 0.5664 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6269, allocations: 3.938 kB / 0.5664 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6269, allocations: 3.953 kB / 0.5664 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6269, allocations: 4.031 kB / 0.5664 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.6272, allocations: 211.3 kB / 0.5666 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.6273, allocations: 96.19 kB / 0.5667 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.6274, allocations: 3.953 kB / 0.5667 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.6275, allocations: 4 kB / 0.5667 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.6276, allocations: 19.42 kB / 0.5667 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.6276, allocations: 4 kB / 0.5667 GB, free: 8.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.6278, allocations: 144.4 kB / 0.5669 GB, free: 8.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6278, allocations: 0 / 0.5669 GB, free: 8.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.6282, allocations: 31.53 kB / 0.5669 GB, free: 8.078 MB / 378.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) * 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.00125/0.6294, allocations: 430.9 kB / 0.5673 GB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.6297, allocations: 59.86 kB / 0.5674 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6297, allocations: 0 / 0.5674 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.6298, allocations: 26.62 kB / 0.5674 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.6302, allocations: 28.52 kB / 0.5674 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.6307, allocations: 196.3 kB / 0.5676 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.6311, allocations: 0.7153 MB / 0.5683 GB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.6312, allocations: 15.44 kB / 0.5683 GB, free: 6.656 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6312, allocations: 0 / 0.5683 GB, free: 6.656 MB / 378.7 MB Notification: Performance of Templates: time 0.005416/0.6366, allocations: 1.923 MB / 0.5702 GB, free: 4.742 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches