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.002127/0.002127, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00214/0.00214, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2403/0.2403, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.002026/0.002026, allocations: 68.03 kB / 0.4966 GB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3693, allocations: 66.04 MB / 0.5611 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.005532/0.3749, allocations: 1.922 MB / 0.563 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.3777, allocations: 1.135 MB / 0.5641 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.3779, allocations: 4 kB / 0.5641 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009053/0.3788, allocations: 199.4 kB / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.3795, allocations: 219.1 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.38, allocations: 163.5 kB / 0.5647 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.3805, allocations: 271.2 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3806, allocations: 12.58 kB / 0.5649 GB, free: 372 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.3809, allocations: 119.5 kB / 0.5651 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.3811, allocations: 123.5 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.3812, allocations: 12 kB / 0.5652 GB, free: 116 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.3814, allocations: 63.91 kB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3815, allocations: 63.77 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3816, allocations: 59.61 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.382, allocations: 257.5 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3821, allocations: 3.938 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3821, allocations: 0 / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3821, allocations: 0 / 0.5656 GB, free: 15.68 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.001048/0.3831, allocations: 498.4 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.3832, allocations: 8.031 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/0.3832, allocations: 28.78 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.3836, allocations: 230.6 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3837, allocations: 4.375 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3837, allocations: 4.125 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.3839, allocations: 103.3 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3839, allocations: 0 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3839, allocations: 4 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3839, allocations: 0 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3841, allocations: 51.91 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.3846, allocations: 321.2 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.385, allocations: 113.2 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3851, allocations: 49.69 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3851, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.3854, allocations: 113 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3854, allocations: 4 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005087/0.3859, allocations: 189.5 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.3859, allocations: 81.05 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.3864, allocations: 364.5 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/0.3864, allocations: 29.7 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3866, allocations: 136.1 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3866, allocations: 35.73 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.3867, allocations: 29.7 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.3869, allocations: 338.8 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.387, allocations: 39.98 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.3871, allocations: 100.9 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.3874, allocations: 107.8 kB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3874, allocations: 0 / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003122/0.3877, allocations: 145.5 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3877, allocations: 11.94 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3877, allocations: 4.094 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3877, allocations: 0 / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3879, allocations: 35.91 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3879, allocations: 0 / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.388, allocations: 15.89 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.388, allocations: 4 kB / 0.5687 GB, free: 12.3 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.0001794/0.3882, allocations: 165.6 kB / 0.5688 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.3882, allocations: 27.81 kB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/0.3886, allocations: 175.5 kB / 0.569 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3886, allocations: 7.938 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3886, allocations: 4 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3886, allocations: 0 / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3889, allocations: 193.2 kB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3889, allocations: 0 / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.3889, allocations: 8 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3889, allocations: 0 / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3889, allocations: 8.188 kB / 0.5692 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3889, allocations: 4 kB / 0.5692 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3889, allocations: 3.984 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.3893, allocations: 205.6 kB / 0.5694 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.3893, allocations: 23.84 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.3894, allocations: 8 kB / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.3895, allocations: 7.984 kB / 0.5695 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.3895, allocations: 11.98 kB / 0.5695 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3895, allocations: 4 kB / 0.5695 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.3898, allocations: 267 kB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3898, allocations: 0 / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3901, allocations: 35.94 kB / 0.5698 GB, free: 11.09 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.001654/0.3918, allocations: 451.4 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.3921, allocations: 103.5 kB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3921, allocations: 0 / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3922, allocations: 55.89 kB / 0.5704 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3926, allocations: 66.05 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.3933, allocations: 404.3 kB / 0.5708 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.3935, allocations: 141 kB / 0.571 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.3936, allocations: 38.06 kB / 0.571 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.3937, allocations: 27.42 kB / 0.571 GB, free: 9.973 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3937, allocations: 4 kB / 0.571 GB, free: 9.969 MB / 414.1 MB Notification: Performance of Templates: time 0.007882/0.4015, allocations: 3.398 MB / 0.5743 GB, free: 6.609 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.459875705651939]