Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.3 MB / 236 MB, free: 2.988 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008402/0.0008402, allocations: 88.09 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1789/0.1789, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.003e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1258, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/0.5468, allocations: 89.26 MB / 0.5889 GB, free: 68 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5472, allocations: 76.03 kB / 0.589 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02358/0.5708, allocations: 5.92 MB / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5708, allocations: 0 / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.5708, allocations: 4 kB / 0.5947 GB, free: 10.08 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005432/0.5714, allocations: 406.2 kB / 0.5951 GB, free: 9.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5715, allocations: 12.03 kB / 0.5951 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.5715, allocations: 15.81 kB / 0.5952 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.572, allocations: 223.3 kB / 0.5954 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.572, allocations: 3.953 kB / 0.5954 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.572, allocations: 4 kB / 0.5954 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5722, allocations: 61.61 kB / 0.5954 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5722, allocations: 0 / 0.5954 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.5722, allocations: 4 kB / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5722, allocations: 0 / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.5723, allocations: 23.98 kB / 0.5955 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.5728, allocations: 312.7 kB / 0.5958 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.5731, allocations: 62.5 kB / 0.5958 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.5731, allocations: 20.97 kB / 0.5958 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.5732, allocations: 4 kB / 0.5958 GB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.5733, allocations: 71.39 kB / 0.5959 GB, free: 8.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.5733, allocations: 0 / 0.5959 GB, free: 8.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006457/0.574, allocations: 201 kB / 0.5961 GB, free: 8.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.574, allocations: 51.41 kB / 0.5962 GB, free: 8.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.5743, allocations: 198.6 kB / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.5744, allocations: 29.7 kB / 0.5964 GB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.5744, allocations: 104.1 kB / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.5745, allocations: 39.61 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.5745, allocations: 3.938 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5747, allocations: 338.7 kB / 0.5968 GB, free: 7.727 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.5748, allocations: 24 kB / 0.5969 GB, free: 7.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.596e-05/0.5749, allocations: 49.64 kB / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.575, allocations: 31.98 kB / 0.5969 GB, free: 7.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.575, allocations: 0 / 0.5969 GB, free: 7.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002802/0.5753, allocations: 124.5 kB / 0.5971 GB, free: 7.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5753, allocations: 4 kB / 0.5971 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5753, allocations: 8.016 kB / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5754, allocations: 0 / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.5755, allocations: 23.94 kB / 0.5971 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5755, allocations: 0 / 0.5971 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.5756, allocations: 11.92 kB / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.5756, allocations: 8 kB / 0.5971 GB, free: 7.438 MB / 410.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 (13): * Single equations (assignments): 13 * 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.0001152/0.5757, allocations: 108.9 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.5758, allocations: 15.81 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.5761, allocations: 155.6 kB / 0.5974 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5761, allocations: 0 / 0.5974 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5761, allocations: 0 / 0.5974 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5762, allocations: 0 / 0.5974 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.5768, allocations: 472 kB / 0.5978 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5768, allocations: 3.984 kB / 0.5978 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.5769, allocations: 12 kB / 0.5978 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5769, allocations: 8.062 kB / 0.5978 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5769, allocations: 0 / 0.5978 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5769, allocations: 4 kB / 0.5979 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5769, allocations: 3.953 kB / 0.5979 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.5772, allocations: 260.5 kB / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.5773, allocations: 100.9 kB / 0.5982 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.5773, allocations: 8 kB / 0.5982 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.5774, allocations: 0 / 0.5982 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.5775, allocations: 15.98 kB / 0.5982 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.5775, allocations: 4 kB / 0.5982 GB, free: 6.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.5777, allocations: 156.2 kB / 0.5984 GB, free: 6.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5777, allocations: 0 / 0.5984 GB, free: 6.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.578, allocations: 44.02 kB / 0.5984 GB, free: 5.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001277/0.5793, allocations: 485.4 kB / 0.5989 GB, free: 5.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.5795, allocations: 75.92 kB / 0.599 GB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5795, allocations: 0 / 0.599 GB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.5796, allocations: 35.94 kB / 0.599 GB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.5799, allocations: 32.14 kB / 0.599 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.5804, allocations: 208.4 kB / 0.5992 GB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.5808, allocations: 0.7121 MB / 0.5999 GB, free: 4.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.51e-05/0.5808, allocations: 28.53 kB / 0.5999 GB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.5809, allocations: 27.42 kB / 0.6 GB, free: 4.445 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5809, allocations: 0 / 0.6 GB, free: 4.445 MB / 410.7 MB Notification: Performance of Templates: time 0.005164/0.5861, allocations: 1.967 MB / 0.6019 GB, free: 2.492 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches