Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 210.8 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 75.89 kB / 0.4967 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003636/0.3615, allocations: 1.91 MB / 0.563 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.3638, allocations: 1.15 MB / 0.5641 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3639, allocations: 7.938 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007895/0.3647, allocations: 199.4 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.3652, allocations: 211.2 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.3656, allocations: 163.1 kB / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.366, allocations: 271.1 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3661, allocations: 16.59 kB / 0.565 GB, free: 232 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.3663, allocations: 119.5 kB / 0.5651 GB, free: 112 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.3665, allocations: 115.6 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.3665, allocations: 12 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.3667, allocations: 63.89 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.3667, allocations: 59.75 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.3668, allocations: 71.48 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.3673, allocations: 245.3 kB / 0.5656 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.3673, allocations: 4 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3673, allocations: 0 / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3673, allocations: 0 / 0.5656 GB, free: 15.55 MB / 414.1 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.000961/0.3682, allocations: 0.4944 MB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3683, allocations: 8.031 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.3683, allocations: 24.8 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.3687, allocations: 230.6 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3687, allocations: 4.375 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3687, allocations: 8.125 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.369, allocations: 99.3 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.369, allocations: 0 / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.369, allocations: 4 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.369, allocations: 4 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3692, allocations: 47.97 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.3697, allocations: 325.1 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.37, allocations: 109.3 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.3701, allocations: 41.69 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3702, allocations: 7.938 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.3704, allocations: 121.1 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.582e-06/0.3704, allocations: 0 / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000511/0.3709, allocations: 189.4 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.371, allocations: 77.11 kB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.3714, allocations: 360.5 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3715, allocations: 29.7 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3717, allocations: 140.1 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.3718, allocations: 31.75 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.3718, allocations: 29.7 kB / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.372, allocations: 350.7 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3721, allocations: 35.98 kB / 0.5683 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3722, allocations: 97.91 kB / 0.5684 GB, free: 12.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.3724, allocations: 103.8 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3724, allocations: 0 / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003107/0.3728, allocations: 153.5 kB / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3728, allocations: 12.03 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3728, allocations: 4 kB / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3728, allocations: 0 / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3729, allocations: 23.98 kB / 0.5687 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3729, allocations: 3.938 kB / 0.5687 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.373, allocations: 11.95 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.373, allocations: 7.984 kB / 0.5687 GB, free: 12.18 MB / 414.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.3732, allocations: 161.7 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.3732, allocations: 27.81 kB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.3736, allocations: 175.4 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3736, allocations: 0 / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3736, allocations: 0 / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3736, allocations: 7.984 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3739, allocations: 189.2 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3739, allocations: 0 / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.3739, allocations: 8.188 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3739, allocations: 3.984 kB / 0.5692 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3739, allocations: 11.98 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3739, allocations: 3.938 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3739, allocations: 0 / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.3743, allocations: 209.7 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.3743, allocations: 19.86 kB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.3744, allocations: 4 kB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3745, allocations: 7.984 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3745, allocations: 11.98 kB / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3745, allocations: 8 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.3748, allocations: 263 kB / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3748, allocations: 0 / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3751, allocations: 43.92 kB / 0.5698 GB, free: 10.97 MB / 414.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/0.3768, allocations: 461.8 kB / 0.5702 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.3771, allocations: 99.83 kB / 0.5703 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3771, allocations: 0 / 0.5703 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.3772, allocations: 47.91 kB / 0.5704 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3776, allocations: 64.53 kB / 0.5704 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.3785, allocations: 396.4 kB / 0.5708 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.3786, allocations: 145 kB / 0.5709 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.576e-05/0.3787, allocations: 33.92 kB / 0.571 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.3788, allocations: 31.42 kB / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3788, allocations: 0 / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of Templates: time 0.007882/0.3867, allocations: 3.383 MB / 0.5743 GB, free: 6.516 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.332525581121445]