Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001934/0.001934, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002609/0.002609, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.691/1.691, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2745/0.2745, allocations: 46.88 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.88 kB / 0.4968 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3982, allocations: 65.98 MB / 0.5613 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003433/0.4016, allocations: 1.749 MB / 0.563 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.4035, allocations: 1.048 MB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.4035, allocations: 0 / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.4039, allocations: 91.69 kB / 0.5641 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.4043, allocations: 115.5 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.4045, allocations: 79.67 kB / 0.5643 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.4048, allocations: 115.7 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.4049, allocations: 8 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.405, allocations: 59.75 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.4051, allocations: 55.77 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.4051, allocations: 4 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.4052, allocations: 51.97 kB / 0.5646 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.4053, allocations: 23.92 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.4054, allocations: 39.67 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.4056, allocations: 130.1 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4056, allocations: 0 / 0.5647 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4056, allocations: 0 / 0.5647 GB, free: 1.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4056, allocations: 0 / 0.5647 GB, free: 1.426 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006309/0.4063, allocations: 434.5 kB / 0.5652 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4063, allocations: 8.031 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.4064, allocations: 20.84 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.4067, allocations: 216.1 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4067, allocations: 8.359 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.4067, allocations: 4.375 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4069, allocations: 61.92 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4069, allocations: 0 / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4069, allocations: 0 / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4069, allocations: 3.938 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.04e-05/0.407, allocations: 19.98 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.4074, allocations: 288.9 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4076, allocations: 58.61 kB / 0.5658 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.4077, allocations: 16.86 kB / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.4077, allocations: 7.984 kB / 0.5658 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.4079, allocations: 75.38 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4079, allocations: 0 / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006024/0.4085, allocations: 177.3 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4085, allocations: 55.41 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.4088, allocations: 223.4 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.4088, allocations: 33.7 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.4089, allocations: 104.1 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.4089, allocations: 31.78 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.4089, allocations: 21.72 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4091, allocations: 326.8 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.4091, allocations: 19.98 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.4092, allocations: 41.64 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4093, allocations: 61.64 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4093, allocations: 4 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002031/0.4095, allocations: 105.5 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4096, allocations: 4 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4096, allocations: 0 / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4096, allocations: 4 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4097, allocations: 15.98 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4097, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.4097, allocations: 8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4098, allocations: 0 / 0.5671 GB, free: 14.77 MB / 414.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001271/0.4099, allocations: 141.7 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.4099, allocations: 15.91 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.4102, allocations: 111.2 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4102, allocations: 4 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4102, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4102, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.4107, allocations: 403.2 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4107, allocations: 4.031 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.4108, allocations: 8.188 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4108, allocations: 0 / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4108, allocations: 7.938 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4108, allocations: 3.938 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4108, allocations: 3.938 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.4111, allocations: 212.7 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.4111, allocations: 81.06 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.4112, allocations: 4 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.4113, allocations: 7.938 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.4113, allocations: 7.984 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4113, allocations: 8 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.4115, allocations: 169.1 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4115, allocations: 0 / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.4118, allocations: 27.88 kB / 0.5683 GB, free: 13.46 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001837/0.4136, allocations: 467.8 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.4138, allocations: 55.95 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.4139, allocations: 4.062 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.4139, allocations: 27.94 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4143, allocations: 31.41 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.4149, allocations: 271.2 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.4153, allocations: 0.7041 MB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.4153, allocations: 16.94 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.4154, allocations: 23.42 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4154, allocations: 4 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Templates: time 0.005519/0.4209, allocations: 1.772 MB / 0.5715 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.782758199609816]