Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009799/0.0009799, allocations: 90.62 kB / 261.7 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.899e-05, allocations: 4 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5828, allocations: 86.96 MB / 0.5509 GB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5831, allocations: 81.02 kB / 0.5509 GB, free: 7.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.5957, allocations: 5.4 MB / 0.5562 GB, free: 3.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5958, allocations: 0 / 0.5562 GB, free: 3.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.5958, allocations: 3.938 kB / 0.5562 GB, free: 3.703 MB / 362.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.0004926/0.5963, allocations: 403.4 kB / 0.5566 GB, free: 3.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.5964, allocations: 8.031 kB / 0.5566 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.5964, allocations: 15.81 kB / 0.5566 GB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.5967, allocations: 212.7 kB / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.5967, allocations: 0 / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.5968, allocations: 6.938 kB / 0.5568 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.93e-05/0.5969, allocations: 15.19 kB / 0.5568 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.487e-05/0.597, allocations: 52.3 kB / 0.5569 GB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.597, allocations: 0.75 kB / 0.5569 GB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.597, allocations: 4 kB / 0.5569 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.597, allocations: 3.938 kB / 0.5569 GB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.5973, allocations: 265.1 kB / 0.5572 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.5974, allocations: 61.17 kB / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.5975, allocations: 20.41 kB / 0.5572 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5975, allocations: 0 / 0.5572 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.5976, allocations: 69.53 kB / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5976, allocations: 3.938 kB / 0.5573 GB, free: 2.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004035/0.598, allocations: 148.5 kB / 0.5574 GB, free: 2.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.5981, allocations: 63.34 kB / 0.5575 GB, free: 2.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.5982, allocations: 178.6 kB / 0.5577 GB, free: 2.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.5982, allocations: 25.7 kB / 0.5577 GB, free: 2.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.5983, allocations: 101.8 kB / 0.5578 GB, free: 2.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.5983, allocations: 27.2 kB / 0.5578 GB, free: 1.996 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.5983, allocations: 0 / 0.5578 GB, free: 1.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.5984, allocations: 324.8 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.5984, allocations: 22.69 kB / 0.5582 GB, free: 1.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.5984, allocations: 32.47 kB / 0.5582 GB, free: 1.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.5985, allocations: 23.05 kB / 0.5582 GB, free: 1.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.5985, allocations: 0 / 0.5582 GB, free: 1.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000111/0.5986, allocations: 82.84 kB / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5986, allocations: 11.94 kB / 0.5583 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.5986, allocations: 0 / 0.5583 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5987, allocations: 0 / 0.5583 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.5987, allocations: 15.98 kB / 0.5583 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5988, allocations: 4 kB / 0.5583 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.5988, allocations: 4.031 kB / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.5988, allocations: 11.14 kB / 0.5583 GB, free: 1.496 MB / 362.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 5.823e-05/0.5989, allocations: 109 kB / 0.5584 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.5989, allocations: 11.81 kB / 0.5585 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.5991, allocations: 107.5 kB / 0.5586 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5991, allocations: 0 / 0.5586 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5991, allocations: 7.984 kB / 0.5586 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5991, allocations: 0 / 0.5586 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.5994, allocations: 380.9 kB / 0.5589 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5994, allocations: 3.984 kB / 0.5589 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.5995, allocations: 8 kB / 0.5589 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5995, allocations: 0 / 0.5589 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.5995, allocations: 4.281 kB / 0.5589 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5995, allocations: 0 / 0.5589 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5995, allocations: 3.938 kB / 0.5589 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.5997, allocations: 219.2 kB / 0.5592 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.5997, allocations: 96.12 kB / 0.5592 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.5998, allocations: 0 / 0.5592 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.5998, allocations: 4.188 kB / 0.5592 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5999, allocations: 19.81 kB / 0.5593 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5999, allocations: 11.44 kB / 0.5593 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.991e-05/0.6, allocations: 143.7 kB / 0.5594 GB, free: 400 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6, allocations: 0 / 0.5594 GB, free: 400 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.6002, allocations: 31.12 kB / 0.5594 GB, free: 372 kB / 362.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.0007841/0.601, allocations: 403.4 kB / 0.5598 GB, free: 28 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.6012, allocations: 50.98 kB / 0.5599 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6012, allocations: 0 / 0.5599 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.6012, allocations: 26.19 kB / 0.5599 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.6015, allocations: 26.3 kB / 0.5599 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.6019, allocations: 170.9 kB / 0.5601 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.6022, allocations: 0.708 MB / 0.5608 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.6023, allocations: 8.562 kB / 0.5608 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.6023, allocations: 22.8 kB / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6023, allocations: 4 kB / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Templates: time 0.004089/0.6064, allocations: 1.643 MB / 0.5624 GB, free: 13.39 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches