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.001719/0.001719, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001711/0.001711, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.629/1.629, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.257/0.257, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.00241/0.00241, allocations: 63.89 kB / 0.4967 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4171, allocations: 66.03 MB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00433/0.4215, allocations: 1.99 MB / 0.5631 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.424, allocations: 1.213 MB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.4242, allocations: 7.938 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009889/0.4252, allocations: 199.4 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.4258, allocations: 207.2 kB / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.4263, allocations: 167.5 kB / 0.5649 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.4267, allocations: 275.1 kB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.4269, allocations: 16.58 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.4271, allocations: 119.5 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.4273, allocations: 123.6 kB / 0.5654 GB, free: 72 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.4273, allocations: 8 kB / 0.5654 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.4277, allocations: 71.95 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.4277, allocations: 47.72 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4279, allocations: 95.39 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.4282, allocations: 245.3 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4282, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4282, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.4283, allocations: 4 kB / 0.5658 GB, free: 15.61 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.001075/0.4293, allocations: 0.4906 MB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.4294, allocations: 12.03 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.4295, allocations: 24.8 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.43, allocations: 234.5 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.43, allocations: 4.375 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.4301, allocations: 12.12 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.4303, allocations: 108.2 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4304, allocations: 0 / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4304, allocations: 0 / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4304, allocations: 3.938 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.4305, allocations: 47.91 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.4313, allocations: 344.6 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.4316, allocations: 117.2 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4318, allocations: 41.69 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.4318, allocations: 3.984 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.4321, allocations: 117 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.4321, allocations: 0 / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005584/0.4326, allocations: 185.4 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.4328, allocations: 102.8 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.4332, allocations: 356.5 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.4334, allocations: 33.7 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.4335, allocations: 140.1 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.4336, allocations: 35.8 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.4336, allocations: 29.7 kB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002997/0.4339, allocations: 342.8 kB / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.434, allocations: 31.98 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.4342, allocations: 81.12 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.4344, allocations: 91.36 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4344, allocations: 0 / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003187/0.4347, allocations: 154 kB / 0.5688 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.4347, allocations: 15.94 kB / 0.5688 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4347, allocations: 0 / 0.5688 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4348, allocations: 0 / 0.5688 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.4349, allocations: 23.98 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4349, allocations: 0 / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.435, allocations: 19.89 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.435, allocations: 7.938 kB / 0.5689 GB, free: 12.2 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.0002327/0.4353, allocations: 157.7 kB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.4353, allocations: 35.75 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.4357, allocations: 155.4 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4357, allocations: 4 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.4357, allocations: 3.984 kB / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4357, allocations: 0 / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.4361, allocations: 224.6 kB / 0.5695 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4361, allocations: 0 / 0.5695 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.4361, allocations: 11.98 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4361, allocations: 0 / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.4361, allocations: 12 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4361, allocations: 3.984 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4361, allocations: 0 / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.4366, allocations: 185.8 kB / 0.5697 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.4366, allocations: 23.8 kB / 0.5697 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.4367, allocations: 12 kB / 0.5697 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.4368, allocations: 11.98 kB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.4368, allocations: 7.984 kB / 0.5697 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4368, allocations: 15.88 kB / 0.5697 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.4372, allocations: 259 kB / 0.57 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4372, allocations: 0 / 0.57 GB, free: 11.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.4374, allocations: 36 kB / 0.57 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 (11): * Single equations (assignments): 7 * 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.001646/0.4391, allocations: 418 kB / 0.5704 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.4394, allocations: 99.89 kB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4394, allocations: 0 / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.4395, allocations: 39.92 kB / 0.5705 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.44, allocations: 75.58 kB / 0.5706 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008638/0.4408, allocations: 392.4 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.4413, allocations: 0.7519 MB / 0.5717 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.4414, allocations: 37.86 kB / 0.5718 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.4415, allocations: 19.44 kB / 0.5718 GB, free: 9.273 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4415, allocations: 8 kB / 0.5718 GB, free: 9.266 MB / 414.1 MB Notification: Performance of Templates: time 0.008359/0.4498, allocations: 3.085 MB / 0.5748 GB, free: 6.199 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.729567123111337]