Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.785/1.785, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008463/0.0008463, allocations: 86.2 kB / 261.7 MB, free: 1.684 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.2196/0.2196, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/2e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.6019, allocations: 86.75 MB / 0.5507 GB, free: 8.211 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.6022, allocations: 79.8 kB / 0.5507 GB, free: 8.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01222/0.6144, allocations: 5.218 MB / 0.5558 GB, free: 4.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.6145, allocations: 0 / 0.5558 GB, free: 4.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.6145, allocations: 3.938 kB / 0.5558 GB, free: 4.016 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003807/0.6149, allocations: 396.8 kB / 0.5562 GB, free: 3.594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.615, allocations: 8.031 kB / 0.5562 GB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.615, allocations: 19.81 kB / 0.5562 GB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.6153, allocations: 213.8 kB / 0.5564 GB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6153, allocations: 0 / 0.5564 GB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.6153, allocations: 4 kB / 0.5565 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.124e-05/0.6154, allocations: 11.69 kB / 0.5565 GB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.051e-05/0.6155, allocations: 52.42 kB / 0.5565 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.6155, allocations: 0 / 0.5565 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6155, allocations: 0 / 0.5565 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.6155, allocations: 0 / 0.5565 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.6157, allocations: 169.2 kB / 0.5567 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.232e-05/0.6158, allocations: 43.44 kB / 0.5567 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.6159, allocations: 19.42 kB / 0.5567 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.6159, allocations: 0 / 0.5567 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.616, allocations: 65.86 kB / 0.5568 GB, free: 2.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.616, allocations: 4 kB / 0.5568 GB, free: 2.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001843/0.6162, allocations: 79.5 kB / 0.5569 GB, free: 2.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.6162, allocations: 55.39 kB / 0.5569 GB, free: 2.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.6164, allocations: 180.7 kB / 0.5571 GB, free: 2.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.6164, allocations: 33.58 kB / 0.5571 GB, free: 2.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.6164, allocations: 101.8 kB / 0.5572 GB, free: 2.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.6165, allocations: 18.86 kB / 0.5572 GB, free: 2.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6165, allocations: 0 / 0.5572 GB, free: 2.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.6165, allocations: 322.6 kB / 0.5576 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.6166, allocations: 18.86 kB / 0.5576 GB, free: 2.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.913e-05/0.6166, allocations: 25.22 kB / 0.5576 GB, free: 2.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.6166, allocations: 15.17 kB / 0.5576 GB, free: 2.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6166, allocations: 4 kB / 0.5576 GB, free: 2.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.569e-05/0.6167, allocations: 76.64 kB / 0.5577 GB, free: 2.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6168, allocations: 8 kB / 0.5577 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.6168, allocations: 0 / 0.5577 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.6168, allocations: 32 / 0.5577 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.077e-05/0.6169, allocations: 12 kB / 0.5577 GB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6169, allocations: 4 kB / 0.5577 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.6169, allocations: 3.984 kB / 0.5577 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.6169, allocations: 7.688 kB / 0.5577 GB, free: 2.02 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 (7): * Single equations (assignments): 7 * 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.39e-05/0.617, allocations: 108.9 kB / 0.5578 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.617, allocations: 19.88 kB / 0.5578 GB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.6172, allocations: 88.64 kB / 0.5579 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6172, allocations: 0 / 0.5579 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.6172, allocations: 4 kB / 0.5579 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6172, allocations: 0 / 0.5579 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.097e-05/0.6173, allocations: 175.9 kB / 0.5581 GB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6173, allocations: 0 / 0.5581 GB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.6174, allocations: 4 kB / 0.5581 GB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6174, allocations: 0 / 0.5581 GB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.6174, allocations: 3.953 kB / 0.5581 GB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6174, allocations: 7.984 kB / 0.5581 GB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6174, allocations: 0 / 0.5581 GB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.6175, allocations: 110.8 kB / 0.5582 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.6176, allocations: 100.3 kB / 0.5583 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.6176, allocations: 3.984 kB / 0.5583 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.6176, allocations: 7.953 kB / 0.5583 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.6177, allocations: 0 / 0.5583 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.6177, allocations: 4 kB / 0.5583 GB, free: 1.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.306e-05/0.6178, allocations: 164.3 kB / 0.5585 GB, free: 1.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6178, allocations: 0 / 0.5585 GB, free: 1.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.618, allocations: 16 kB / 0.5585 GB, free: 1.199 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007129/0.6187, allocations: 345.1 kB / 0.5588 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.6188, allocations: 37.69 kB / 0.5589 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6189, allocations: 0 / 0.5589 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.6189, allocations: 19.73 kB / 0.5589 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.6191, allocations: 26.11 kB / 0.5589 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.6195, allocations: 161.4 kB / 0.5591 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.6196, allocations: 0.7041 MB / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.6197, allocations: 20.36 kB / 0.5598 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.6198, allocations: 19.36 kB / 0.5598 GB, free: 15.92 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6198, allocations: 0 / 0.5598 GB, free: 15.92 MB / 378.7 MB Notification: Performance of Templates: time 0.004071/0.6238, allocations: 1.45 MB / 0.5612 GB, free: 14.48 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches