Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.00195/0.00195, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002081/0.002081, allocations: 161.6 kB / 24.27 MB, free: 160 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.614/1.614, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.3619/0.3619, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.3e-05, allocations: 6.312 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003453/0.003486, allocations: 1.738 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.005478, allocations: 1.001 MB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.883e-05/0.005557, allocations: 0 / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.00587, allocations: 43.7 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.006247, allocations: 95.53 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.006472, allocations: 79.55 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.006679, allocations: 119.5 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.006766, allocations: 8 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.006901, allocations: 47.91 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.003e-05/0.006991, allocations: 27.89 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.007015, allocations: 4 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.007121, allocations: 51.86 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.007185, allocations: 19.92 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.007294, allocations: 23.92 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.007536, allocations: 119.5 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.00754, allocations: 3.938 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007541, allocations: 4 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.007546, allocations: 0 / 380.7 MB, free: 15.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007028/0.008249, allocations: 451.5 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.008289, allocations: 8.031 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.008359, allocations: 20.84 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.008629, allocations: 156.9 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.008642, allocations: 4.375 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.008664, allocations: 4.375 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.008823, allocations: 58.17 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.008837, allocations: 3.938 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.008848, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.008852, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.008929, allocations: 19.98 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.009395, allocations: 299.8 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.009586, allocations: 63.09 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.009646, allocations: 23.62 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.009662, allocations: 4 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.009833, allocations: 73.05 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.009834, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005683/0.0104, allocations: 177.3 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.01045, allocations: 51.41 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.01091, allocations: 261.9 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.01093, allocations: 25.7 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01105, allocations: 158.9 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.01109, allocations: 27.75 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.01115, allocations: 31.36 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000293/0.01144, allocations: 0.504 MB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.0115, allocations: 24.3 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.01158, allocations: 43.36 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.01172, allocations: 71.36 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.01173, allocations: 4 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.01194, allocations: 105.6 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01195, allocations: 9.875 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01196, allocations: 0 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01197, allocations: 0 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.01206, allocations: 12 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.01207, allocations: 7.984 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.01211, allocations: 4 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01212, allocations: 7.938 kB / 383.4 MB, free: 12.6 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 (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.0001718/0.0123, allocations: 172.4 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.01234, allocations: 19.94 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.01263, allocations: 119.1 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.01264, allocations: 4 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01264, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01265, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.0132, allocations: 420.9 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0132, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.01325, allocations: 12 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.01325, allocations: 4 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.01326, allocations: 3.984 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.01327, allocations: 4.031 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01327, allocations: 0 / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.0136, allocations: 271.4 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.01363, allocations: 11.91 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.01365, allocations: 4 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.01372, allocations: 0 / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.01377, allocations: 11.98 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.01378, allocations: 4 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.01396, allocations: 192.1 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01396, allocations: 0 / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.01421, allocations: 27.94 kB / 384.7 MB, free: 11.26 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.00328/0.01749, allocations: 0.489 MB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.0177, allocations: 67.59 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.0177, allocations: 4 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.01779, allocations: 43.89 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.01816, allocations: 32.09 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.01872, allocations: 237.8 kB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.01884, allocations: 100.8 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.01889, allocations: 9.047 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.01894, allocations: 24.48 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01894, allocations: 0 / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.005999/0.02494, allocations: 1.859 MB / 387.5 MB, free: 8.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.993474505026825]