Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 174.9 kB / 8.004 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.617/1.617, 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.0009667/0.0009667, allocations: 82.66 kB / 261.7 MB, free: 1.625 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.221/0.221, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.909e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.5154, allocations: 87.75 MB / 0.5516 GB, free: 7.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.5157, allocations: 78.23 kB / 0.5517 GB, free: 7.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.5321, allocations: 6.874 MB / 0.5584 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5322, allocations: 0 / 0.5584 GB, free: 2.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.5322, allocations: 11.88 kB / 0.5584 GB, free: 2.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005066/0.5327, allocations: 0.4922 MB / 0.5589 GB, free: 1.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5328, allocations: 12.03 kB / 0.5589 GB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.5328, allocations: 19.72 kB / 0.5589 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.5332, allocations: 285.1 kB / 0.5592 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.5332, allocations: 0 / 0.5592 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.5333, allocations: 7.984 kB / 0.5592 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/0.5334, allocations: 38.73 kB / 0.5593 GB, free: 1.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.5335, allocations: 103.2 kB / 0.5594 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5335, allocations: 0 / 0.5594 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5335, allocations: 0 / 0.5594 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5336, allocations: 0 / 0.5594 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.534, allocations: 370.9 kB / 0.5597 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.5341, allocations: 107.9 kB / 0.5598 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.5342, allocations: 37.47 kB / 0.5599 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.5342, allocations: 4 kB / 0.5599 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.5343, allocations: 116.5 kB / 0.56 GB, free: 432 kB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.5343, allocations: 0 / 0.56 GB, free: 432 kB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002443/0.5346, allocations: 132.6 kB / 0.5601 GB, free: 316 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.5346, allocations: 110.7 kB / 0.5602 GB, free: 184 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.5349, allocations: 291.4 kB / 0.5605 GB, free: 15.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.535, allocations: 25.7 kB / 0.5605 GB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.5351, allocations: 133.4 kB / 0.5606 GB, free: 15.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.5351, allocations: 35.42 kB / 0.5607 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.5351, allocations: 0 / 0.5607 GB, free: 15.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5352, allocations: 342 kB / 0.561 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.5353, allocations: 31.25 kB / 0.561 GB, free: 15.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.443e-05/0.5354, allocations: 73.97 kB / 0.5611 GB, free: 15.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.542e-05/0.5355, allocations: 39.39 kB / 0.5611 GB, free: 15.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5355, allocations: 0 / 0.5611 GB, free: 15.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001877/0.5357, allocations: 132.2 kB / 0.5613 GB, free: 15.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5357, allocations: 4 kB / 0.5613 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5357, allocations: 0 / 0.5613 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5357, allocations: 4 kB / 0.5613 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.5358, allocations: 23.92 kB / 0.5613 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5359, allocations: 4 kB / 0.5613 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.536, allocations: 8.062 kB / 0.5613 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.536, allocations: 4 kB / 0.5613 GB, free: 15.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.28e-05/0.5361, allocations: 120.6 kB / 0.5614 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.5361, allocations: 23.72 kB / 0.5614 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.5364, allocations: 153.4 kB / 0.5616 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.5364, allocations: 7.969 kB / 0.5616 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5364, allocations: 3.938 kB / 0.5616 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.5365, allocations: 4 kB / 0.5616 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.5367, allocations: 244.3 kB / 0.5618 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5367, allocations: 0 / 0.5618 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.5368, allocations: 15.92 kB / 0.5618 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5368, allocations: 4 kB / 0.5618 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5368, allocations: 3.875 kB / 0.5619 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5368, allocations: 192 / 0.5619 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5368, allocations: 7.938 kB / 0.5619 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.5371, allocations: 189.7 kB / 0.562 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.5372, allocations: 112.6 kB / 0.5621 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.5372, allocations: 7.984 kB / 0.5622 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.5373, allocations: 4 kB / 0.5622 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.5374, allocations: 11.98 kB / 0.5622 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.5374, allocations: 7.875 kB / 0.5622 GB, free: 14.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.5376, allocations: 236 kB / 0.5624 GB, free: 14.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5376, allocations: 4 kB / 0.5624 GB, free: 14.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.5379, allocations: 39.94 kB / 0.5624 GB, free: 14.06 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000852/0.5388, allocations: 371 kB / 0.5628 GB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.539, allocations: 83.05 kB / 0.5629 GB, free: 13.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.539, allocations: 128 / 0.5629 GB, free: 13.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.5391, allocations: 55.19 kB / 0.5629 GB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5394, allocations: 48.48 kB / 0.563 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.5399, allocations: 289.1 kB / 0.5633 GB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5403, allocations: 0.7553 MB / 0.564 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.5404, allocations: 33.98 kB / 0.564 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.5405, allocations: 27.42 kB / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5405, allocations: 0 / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of Templates: time 0.005961/0.5464, allocations: 2.77 MB / 0.5668 GB, free: 9.754 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches