Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001501/0.001501, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001473/0.001473, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.627/1.627, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2735/0.2735, allocations: 46.93 MB / 360.8 MB, free: 4.293 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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.91 kB / 0.4967 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4086, allocations: 66.03 MB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003884/0.4125, allocations: 1.751 MB / 0.5629 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.4145, allocations: 1.045 MB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.4146, allocations: 0 / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.4149, allocations: 43.77 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.4154, allocations: 99.47 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.4156, allocations: 83.66 kB / 0.5641 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.4159, allocations: 103.8 kB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.416, allocations: 4 kB / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.4161, allocations: 51.73 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.4162, allocations: 39.77 kB / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.4162, allocations: 4 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4163, allocations: 39.98 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.4164, allocations: 27.91 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.4165, allocations: 31.75 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.4167, allocations: 117.9 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4167, allocations: 0 / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4167, allocations: 0 / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4167, allocations: 7.938 kB / 0.5645 GB, free: 0.9609 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.0005733/0.4173, allocations: 349.5 kB / 0.5649 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.4174, allocations: 12.03 kB / 0.5649 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.4174, allocations: 8.891 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.4177, allocations: 159 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.4177, allocations: 384 / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4177, allocations: 8.125 kB / 0.5651 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4179, allocations: 57.67 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4179, allocations: 0 / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4179, allocations: 0 / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4179, allocations: 4 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.418, allocations: 23.92 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.4184, allocations: 259.9 kB / 0.5654 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4186, allocations: 54.67 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.4187, allocations: 20.86 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.4187, allocations: 0 / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.4188, allocations: 71.33 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4188, allocations: 0 / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006016/0.4194, allocations: 177.3 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4195, allocations: 51.41 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.4197, allocations: 198.2 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4197, allocations: 37.64 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.4198, allocations: 104.1 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.4199, allocations: 31.77 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.4199, allocations: 21.72 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4201, allocations: 326.8 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.4201, allocations: 19.98 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.4202, allocations: 37.7 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.4203, allocations: 61.66 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4203, allocations: 0 / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.4205, allocations: 101.6 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4205, allocations: 4 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4206, allocations: 0 / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4206, allocations: 7.938 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.4207, allocations: 15.98 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4207, allocations: 0 / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.4207, allocations: 15.97 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.4207, allocations: 0 / 0.5667 GB, free: 14.57 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.0001103/0.4208, allocations: 125.8 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.4209, allocations: 11.91 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.4211, allocations: 119 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4211, allocations: 4 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4211, allocations: 384 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.529e-05/0.4212, allocations: 3.938 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.4217, allocations: 366.6 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4217, allocations: 4 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.4217, allocations: 8 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4217, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4217, allocations: 7.922 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4217, allocations: 4 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4217, allocations: 0 / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.4221, allocations: 216.2 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.4221, allocations: 7.953 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.4221, allocations: 7.938 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.4223, allocations: 11.92 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.4223, allocations: 4 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.4223, allocations: 192 / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.4225, allocations: 156.2 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4225, allocations: 7.938 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000271/0.4227, allocations: 27.92 kB / 0.5677 GB, free: 13.4 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.001795/0.4245, allocations: 452.9 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.4247, allocations: 55.92 kB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4247, allocations: 0 / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.4248, allocations: 27.92 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4252, allocations: 30.22 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.0005902/0.4258, allocations: 230.7 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.4261, allocations: 0.7042 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.4262, allocations: 21.27 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.4262, allocations: 27.36 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4262, allocations: 0 / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.005298/0.4315, allocations: 1.778 MB / 0.571 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.75007574306801]