Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001324/0.001324, allocations: 113.2 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.002005/0.002005, allocations: 215.4 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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.3222/0.3222, allocations: 46.93 MB / 360.8 MB, free: 4.281 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.89 kB / 0.4967 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4175, allocations: 66.03 MB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003587/0.4211, allocations: 1.749 MB / 0.5629 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.4232, allocations: 1.049 MB / 0.5639 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.4232, allocations: 3.938 kB / 0.5639 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.4236, allocations: 43.77 kB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.424, allocations: 99.59 kB / 0.5641 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.4242, allocations: 79.67 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.4244, allocations: 103.7 kB / 0.5642 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4245, allocations: 8 kB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.4246, allocations: 43.8 kB / 0.5643 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.4247, allocations: 35.77 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.4247, allocations: 4 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.4248, allocations: 39.98 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.4249, allocations: 23.92 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.425, allocations: 35.73 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.4252, allocations: 125.8 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4252, allocations: 8 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4253, allocations: 0 / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.4253, allocations: 0 / 0.5645 GB, free: 0.9688 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.0006575/0.4259, allocations: 345.5 kB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.426, allocations: 8.031 kB / 0.5649 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.426, allocations: 8.891 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.4263, allocations: 159 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4264, allocations: 4.375 kB / 0.565 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.4264, allocations: 12.12 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.4265, allocations: 49.67 kB / 0.5651 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4266, allocations: 3.984 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4266, allocations: 8 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4266, allocations: 0 / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/0.4267, allocations: 19.92 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.4271, allocations: 259.9 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.4273, allocations: 54.67 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.4274, allocations: 16.86 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.4274, allocations: 7.938 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.4276, allocations: 63.39 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4276, allocations: 3.938 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005916/0.4282, allocations: 181.6 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4282, allocations: 55.41 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.4284, allocations: 190.3 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4285, allocations: 29.7 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.4285, allocations: 108.1 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.4286, allocations: 27.78 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.4286, allocations: 17.72 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4288, allocations: 330.8 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.4288, allocations: 27.92 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.4289, allocations: 33.83 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.429, allocations: 69.64 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.429, allocations: 0 / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.4292, allocations: 101.5 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4292, allocations: 8 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4292, allocations: 4.031 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4293, allocations: 0 / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.4294, allocations: 19.98 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4294, allocations: 4 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.4294, allocations: 3.938 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.4294, allocations: 4 kB / 0.5667 GB, free: 14.58 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.0001678/0.4296, allocations: 128.6 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.4296, allocations: 15.91 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.4299, allocations: 119.1 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4299, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4299, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4299, allocations: 3.938 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.4303, allocations: 362.4 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4303, allocations: 0 / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.4304, allocations: 8 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4304, allocations: 4 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.4304, allocations: 15.95 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4304, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4304, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.4306, allocations: 212.2 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.4307, allocations: 7.953 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.4307, allocations: 7.938 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.4308, allocations: 0 / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.4308, allocations: 11.98 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4308, allocations: 4 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.431, allocations: 152.2 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.431, allocations: 0 / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.4312, allocations: 27.92 kB / 0.5677 GB, free: 13.43 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.001728/0.4329, allocations: 469.1 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.4332, allocations: 51.92 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4332, allocations: 0 / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.4332, allocations: 27.92 kB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.4336, allocations: 39.52 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.4341, allocations: 234.8 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.4345, allocations: 0.708 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.4345, allocations: 17.27 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.4346, allocations: 19.42 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4346, allocations: 4 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.005558/0.4401, allocations: 1.77 MB / 0.571 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.543491100892425]