Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.0013/0.0013, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001468/0.001468, allocations: 161 kB / 24.55 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.9768/0.9768, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2337/0.2337, allocations: 32.81 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.888e-05, allocations: 2.312 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002185/0.002204, allocations: 1.77 MB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.003419, allocations: 1.009 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.003486, allocations: 0 / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.003767, allocations: 43.64 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.004048, allocations: 95.53 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.004216, allocations: 79.66 kB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.00438, allocations: 107.6 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.004467, allocations: 15.97 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.004545, allocations: 51.84 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.004613, allocations: 39.83 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.004628, allocations: 4 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.004701, allocations: 43.92 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.004744, allocations: 11.94 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.004779, allocations: 23.91 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.004938, allocations: 103.6 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004941, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004942, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004945, allocations: 0 / 379.5 MB, free: 1.168 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004635/0.005409, allocations: 447.9 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.005445, allocations: 12.03 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.005496, allocations: 20.78 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.00566, allocations: 153.1 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.005678, allocations: 384 / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.005696, allocations: 4.375 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.005806, allocations: 62.94 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.005817, allocations: 3.938 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005828, allocations: 3.984 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.005835, allocations: 0 / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.005866, allocations: 8 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.006145, allocations: 295.7 kB / 380.5 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.006252, allocations: 55.17 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.006292, allocations: 23.61 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.006303, allocations: 0 / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.262e-05/0.006395, allocations: 68.98 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.006397, allocations: 3.984 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000375/0.006772, allocations: 153.4 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.006803, allocations: 51.41 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.006931, allocations: 238.3 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.006945, allocations: 37.7 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.007, allocations: 146.9 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.007025, allocations: 23.8 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.007058, allocations: 35.36 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.007167, allocations: 0.4923 MB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.007197, allocations: 15.98 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.007228, allocations: 27.38 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.007285, allocations: 59.23 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007286, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000142/0.007428, allocations: 93.95 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.00744, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007444, allocations: 4 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.007457, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.007526, allocations: 23.92 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007531, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.00756, allocations: 8 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.007566, allocations: 4 kB / 382 MB, free: 14.41 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 6.782e-05/0.007634, allocations: 160.5 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.00765, allocations: 15.94 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.007793, allocations: 111.2 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.007795, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.007797, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.007802, allocations: 7.984 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.008077, allocations: 392.9 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008078, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.00823, allocations: 8 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.008232, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.008241, allocations: 8 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008243, allocations: 3.938 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.008245, allocations: 8.016 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.00838, allocations: 255.4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.008392, allocations: 11.91 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.008408, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.008448, allocations: 4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.008476, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.008488, allocations: 7.938 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.008559, allocations: 168.1 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008559, allocations: 0 / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.008726, allocations: 31.92 kB / 383.2 MB, free: 13.14 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.0008477/0.009574, allocations: 444.6 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.00968, allocations: 51.59 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.009681, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.00972, allocations: 35.61 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.009935, allocations: 31.92 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.01024, allocations: 214.4 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.01028, allocations: 71.33 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.426e-05/0.01031, allocations: 20.95 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.01034, allocations: 20.5 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01034, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003518/0.01386, allocations: 2.011 MB / 386.1 MB, free: 10.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.0855804178863764]