Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 177.6 kB / 8.005 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.761/1.761, 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.0009082/0.0009081, allocations: 86.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.2191/0.2191, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.323e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 58.87 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5837, allocations: 87.95 MB / 0.5518 GB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.584, allocations: 79.7 kB / 0.5519 GB, free: 7.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009949/0.594, allocations: 4.219 MB / 0.556 GB, free: 3.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.594, allocations: 0 / 0.556 GB, free: 3.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.594, allocations: 4 kB / 0.556 GB, free: 3.957 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004357/0.5945, allocations: 462 kB / 0.5565 GB, free: 3.469 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5945, allocations: 8.031 kB / 0.5565 GB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.5946, allocations: 11.91 kB / 0.5565 GB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.5949, allocations: 232.1 kB / 0.5567 GB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5949, allocations: 7.984 kB / 0.5567 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.5949, allocations: 4 kB / 0.5567 GB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/0.595, allocations: 30 kB / 0.5567 GB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.5952, allocations: 89.61 kB / 0.5568 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5952, allocations: 3.938 kB / 0.5568 GB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5952, allocations: 0 / 0.5568 GB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.5952, allocations: 4 kB / 0.5568 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.5957, allocations: 0.4947 MB / 0.5573 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.596, allocations: 83.05 kB / 0.5574 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.596, allocations: 27.55 kB / 0.5574 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.596, allocations: 4 kB / 0.5574 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.5962, allocations: 73.81 kB / 0.5575 GB, free: 2.387 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.5962, allocations: 0 / 0.5575 GB, free: 2.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002241/0.5964, allocations: 107.2 kB / 0.5576 GB, free: 2.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.5964, allocations: 58.22 kB / 0.5577 GB, free: 2.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.5966, allocations: 163.3 kB / 0.5578 GB, free: 2.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.5966, allocations: 25.7 kB / 0.5578 GB, free: 2.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.5966, allocations: 114.8 kB / 0.5579 GB, free: 1.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.5967, allocations: 34.17 kB / 0.558 GB, free: 1.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.5967, allocations: 0 / 0.558 GB, free: 1.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.5967, allocations: 326.5 kB / 0.5583 GB, free: 1.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.5968, allocations: 21.69 kB / 0.5583 GB, free: 1.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-05/0.5968, allocations: 61.59 kB / 0.5584 GB, free: 1.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.5969, allocations: 27.27 kB / 0.5584 GB, free: 1.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5969, allocations: 0 / 0.5584 GB, free: 1.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001433/0.597, allocations: 118.2 kB / 0.5585 GB, free: 1.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.597, allocations: 4 kB / 0.5585 GB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5971, allocations: 7.984 kB / 0.5585 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5971, allocations: 0 / 0.5585 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.5972, allocations: 20 kB / 0.5585 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5972, allocations: 11.94 kB / 0.5586 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.5973, allocations: 7.938 kB / 0.5586 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.5973, allocations: 4 kB / 0.5586 GB, free: 1.328 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.912e-05/0.5973, allocations: 116.4 kB / 0.5587 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.5974, allocations: 11.81 kB / 0.5587 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.5976, allocations: 111.2 kB / 0.5588 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5976, allocations: 7.984 kB / 0.5588 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5976, allocations: 0 / 0.5588 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5976, allocations: 3.953 kB / 0.5588 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.5977, allocations: 189.8 kB / 0.559 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5977, allocations: 0 / 0.559 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.5978, allocations: 12 kB / 0.559 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5978, allocations: 0 / 0.559 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.5978, allocations: 11.3 kB / 0.559 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5978, allocations: 0 / 0.559 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5978, allocations: 0 / 0.559 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.598, allocations: 168.5 kB / 0.5592 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.5981, allocations: 96.84 kB / 0.5593 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.5981, allocations: 0 / 0.5593 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.5982, allocations: 8 kB / 0.5593 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.5982, allocations: 11.48 kB / 0.5593 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.5983, allocations: 4 kB / 0.5593 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.5983, allocations: 133 kB / 0.5594 GB, free: 488 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.5983, allocations: 3.938 kB / 0.5594 GB, free: 484 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.5986, allocations: 31.31 kB / 0.5594 GB, free: 456 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006962/0.5993, allocations: 356.3 kB / 0.5598 GB, free: 148 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.5994, allocations: 63.36 kB / 0.5598 GB, free: 100 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5994, allocations: 4 kB / 0.5598 GB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.5995, allocations: 33.38 kB / 0.5599 GB, free: 72 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.5997, allocations: 33.67 kB / 0.5599 GB, free: 40 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.6002, allocations: 181 kB / 0.5601 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.6005, allocations: 0.7277 MB / 0.5608 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.85e-05/0.6006, allocations: 21.19 kB / 0.5608 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.6006, allocations: 19.42 kB / 0.5608 GB, free: 15.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6006, allocations: 0 / 0.5608 GB, free: 15.07 MB / 378.7 MB Notification: Performance of Templates: time 0.004187/0.6048, allocations: 1.707 MB / 0.5625 GB, free: 13.38 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches