Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0009957/0.0009957, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001074/0.001074, allocations: 161 kB / 24.56 MB, free: 16 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 0.9872/0.9872, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.283/0.283, allocations: 34.25 MB / 295.7 MB, free: 0.6641 MB / 266.7 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.1 MB, free: 2.512 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.62e-05, allocations: 2.312 kB / 378.1 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.006027/0.006053, allocations: 1.941 MB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.007877, allocations: 1.103 MB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003142/0.01102, allocations: 7.938 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.01142, allocations: 163.3 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004514/0.01187, allocations: 183.2 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.0122, allocations: 127.4 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.0125, allocations: 251.2 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.01261, allocations: 21.94 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.01278, allocations: 127.7 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.01295, allocations: 127.7 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.01298, allocations: 12 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.0131, allocations: 63.91 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.01318, allocations: 59.7 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.01324, allocations: 47.8 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.0135, allocations: 179.3 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.0135, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0135, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.01351, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.003635/0.01714, allocations: 0.5807 MB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.01718, allocations: 12.03 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.01725, allocations: 28.8 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.01751, allocations: 216.7 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.01753, allocations: 4.375 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.01756, allocations: 12.31 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.01777, allocations: 118.2 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.01778, allocations: 3.938 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.0178, allocations: 4 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01781, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.01787, allocations: 27.97 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.01837, allocations: 0.5024 MB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.01864, allocations: 118.1 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.0187, allocations: 35.48 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.01872, allocations: 4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.01889, allocations: 123.5 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.01889, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.004188/0.02307, allocations: 464.9 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.02312, allocations: 85.03 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.0234, allocations: 354.3 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.02342, allocations: 37.69 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.02352, allocations: 195.3 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.02358, allocations: 71.42 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.02364, allocations: 55.36 kB / 385.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.02381, allocations: 0.5157 MB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.02387, allocations: 35.91 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.02396, allocations: 82.72 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.02412, allocations: 122.6 kB / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.02412, allocations: 4 kB / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002437/0.02437, allocations: 197.5 kB / 386.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.02438, allocations: 5.719 kB / 386.5 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.02439, allocations: 0 / 386.5 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.0244, allocations: 4 kB / 386.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.0245, allocations: 51.97 kB / 386.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.02451, allocations: 7.938 kB / 386.5 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.02455, allocations: 8 kB / 386.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.02456, allocations: 8 kB / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.557e-05/0.02465, allocations: 172.5 kB / 386.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.02468, allocations: 43.77 kB / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.02504, allocations: 228.2 kB / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02504, allocations: 4 kB / 387 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.02504, allocations: 3.938 kB / 387 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.02505, allocations: 4 kB / 387 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.02574, allocations: 0.7449 MB / 387.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02574, allocations: 0 / 387.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.02582, allocations: 31.98 kB / 387.8 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.02583, allocations: 0 / 387.8 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.02584, allocations: 8 kB / 387.8 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.02585, allocations: 8 kB / 387.8 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.02585, allocations: 3.938 kB / 387.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.02621, allocations: 0.5093 MB / 388.3 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.02624, allocations: 23.81 kB / 388.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.02628, allocations: 8 kB / 388.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.0264, allocations: 11.98 kB / 388.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.02645, allocations: 23.91 kB / 388.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.02648, allocations: 12 kB / 388.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.02666, allocations: 246.9 kB / 388.6 MB, free: 7.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02666, allocations: 0 / 388.6 MB, free: 7.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003556/0.02702, allocations: 55.92 kB / 388.7 MB, free: 7.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001095/0.02811, allocations: 0.4891 MB / 389.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.02832, allocations: 130.2 kB / 389.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02832, allocations: 0 / 389.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.14e-05/0.0284, allocations: 79.66 kB / 389.4 MB, free: 7.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.02876, allocations: 71.73 kB / 389.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.02931, allocations: 469.5 kB / 389.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.871e-05/0.02937, allocations: 92.31 kB / 390 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.02944, allocations: 38.17 kB / 390 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.02949, allocations: 32.48 kB / 390.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02949, allocations: 0 / 390.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of Templates: time 0.005425/0.03491, allocations: 3.318 MB / 393.4 MB, free: 2.988 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.327130788937211]