Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001291/0.001291, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001433/0.001433, allocations: 157.7 kB / 24.26 MB, free: 172 kB / 18.57 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.516/1.516, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4237/0.4237, allocations: 32.79 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 375.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.807e-05, allocations: 13.2 kB / 375.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003938/0.003976, allocations: 1.669 MB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.006142, allocations: 0.9548 MB / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.006236, allocations: 0 / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.006601, allocations: 55.73 kB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.007045, allocations: 103.5 kB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.00731, allocations: 75.66 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.00756, allocations: 111.6 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.007604, allocations: 4.234 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.00775, allocations: 63.77 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.007873, allocations: 39.88 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.007896, allocations: 4 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.008005, allocations: 31.94 kB / 378.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.62e-05/0.008072, allocations: 19.92 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.008128, allocations: 19.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.008373, allocations: 91.7 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.008379, allocations: 4 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.00838, allocations: 0 / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.008385, allocations: 0 / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006574/0.009043, allocations: 333.6 kB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.009084, allocations: 12.03 kB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.009161, allocations: 20.83 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.009497, allocations: 145.6 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.009514, allocations: 4.375 kB / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.009524, allocations: 384 / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.009685, allocations: 54.23 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.009696, allocations: 3.938 kB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.009706, allocations: 0 / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.009711, allocations: 0 / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.368e-05/0.009795, allocations: 23.97 kB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.01002, allocations: 129.3 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.01022, allocations: 58.55 kB / 379.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.01028, allocations: 16.84 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.0103, allocations: 4 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.01049, allocations: 63.39 kB / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.01049, allocations: 0 / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003513/0.01084, allocations: 105.5 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.01089, allocations: 55.41 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.01112, allocations: 187.3 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.01115, allocations: 29.7 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.01123, allocations: 100.1 kB / 379.9 MB, free: 140 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.01126, allocations: 15.84 kB / 379.9 MB, free: 124 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.01132, allocations: 25.7 kB / 379.9 MB, free: 92 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.01153, allocations: 318.8 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-05/0.01159, allocations: 15.98 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.01166, allocations: 29.7 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.01178, allocations: 53.64 kB / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01178, allocations: 0 / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001991/0.01198, allocations: 77.64 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.012, allocations: 11.94 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01201, allocations: 3.938 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01203, allocations: 0 / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.01212, allocations: 12.3 kB / 380.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.01213, allocations: 7.938 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.01218, allocations: 7.953 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.0122, allocations: 12.03 kB / 380.5 MB, free: 15.52 MB / 362.7 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 (7): * Single equations (assignments): 7 * 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.0001405/0.01234, allocations: 121.8 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.01236, allocations: 7.953 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.0126, allocations: 106.7 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01261, allocations: 0 / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01261, allocations: 0 / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01261, allocations: 0 / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.01277, allocations: 129.3 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01277, allocations: 0 / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.0128, allocations: 8 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.0128, allocations: 4 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01282, allocations: 4 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.01282, allocations: 3.938 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01282, allocations: 0 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.01305, allocations: 121 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.01308, allocations: 11.89 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.0131, allocations: 3.938 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.01315, allocations: 7.938 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.01319, allocations: 3.984 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.01321, allocations: 8 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.01335, allocations: 136 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01335, allocations: 4 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000228/0.01357, allocations: 15.98 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002031/0.01561, allocations: 431.5 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.0158, allocations: 39.98 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.0158, allocations: 3.938 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.01588, allocations: 23.98 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.0162, allocations: 35.8 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.01678, allocations: 208.2 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.01693, allocations: 93.38 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.758e-05/0.01699, allocations: 12.48 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.01706, allocations: 20.48 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01706, allocations: 0 / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Templates: time 0.00584/0.0229, allocations: 1.653 MB / 383.7 MB, free: 12.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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: 4.922116295900196]