Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001454/0.001454, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001568/0.001568, allocations: 161.7 kB / 24.27 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.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.57 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.4145/0.4145, allocations: 34.26 MB / 295.3 MB, free: 0.6797 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.526e-05, allocations: 2.312 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00338/0.003416, allocations: 1.723 MB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.005382, allocations: 0.9781 MB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.005451, allocations: 0 / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.005767, allocations: 43.66 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.006123, allocations: 95.53 kB / 380.2 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.006669, allocations: 79.66 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.00688, allocations: 107.6 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.006978, allocations: 11.98 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.007092, allocations: 47.84 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.007182, allocations: 39.83 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.007204, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.00731, allocations: 43.92 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.007375, allocations: 19.94 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.007435, allocations: 23.91 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.007689, allocations: 111.6 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007692, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007693, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.007697, allocations: 0 / 380.7 MB, free: 15.54 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.0006395/0.008337, allocations: 341.5 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.008378, allocations: 12.03 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.008442, allocations: 16.89 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.008761, allocations: 145.6 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.008779, allocations: 4.375 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.008804, allocations: 384 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.008975, allocations: 62.22 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.00899, allocations: 3.938 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.009004, allocations: 4 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.009009, allocations: 0 / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.009098, allocations: 23.92 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.009513, allocations: 228.6 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.009707, allocations: 54.69 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.009784, allocations: 28.78 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.009803, allocations: 0 / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.009983, allocations: 71.33 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.009984, allocations: 0 / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006926/0.01068, allocations: 185.6 kB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.01073, allocations: 51.41 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.01097, allocations: 191.2 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.011, allocations: 33.69 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.01109, allocations: 100.1 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.01113, allocations: 23.84 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.01117, allocations: 21.72 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.01138, allocations: 326.8 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.01145, allocations: 19.98 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.01153, allocations: 33.7 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.01168, allocations: 77.7 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01168, allocations: 0 / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002408/0.01192, allocations: 113.5 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.01194, allocations: 11.94 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01194, allocations: 0 / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.01196, allocations: 0 / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.01206, allocations: 12 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01207, allocations: 4 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.01213, allocations: 11.94 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01215, allocations: 4 kB / 382.9 MB, free: 13.18 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.000128/0.01228, allocations: 125.7 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.01231, allocations: 19.98 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.0126, allocations: 119.1 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.01261, allocations: 7.969 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01261, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01262, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.01314, allocations: 350.9 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.01314, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.01319, allocations: 11.98 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01319, allocations: 3.938 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01321, allocations: 8.031 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01321, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01321, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.01356, allocations: 216.2 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.01358, allocations: 15.89 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.01361, allocations: 4 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.01368, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.01373, allocations: 11.98 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.01375, allocations: 4 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.0139, allocations: 143.9 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0139, allocations: 4 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.01418, allocations: 24 kB / 383.9 MB, free: 12.06 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.002343/0.01653, allocations: 490.6 kB / 384.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.01674, allocations: 63.91 kB / 384.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01674, allocations: 0 / 384.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.021e-05/0.01683, allocations: 36.08 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.01723, allocations: 32.05 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.01778, allocations: 225.5 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.0179, allocations: 92.3 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.01795, allocations: 21.09 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.01799, allocations: 16.5 kB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.018, allocations: 0 / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of Templates: time 0.005754/0.02375, allocations: 1.867 MB / 386.7 MB, free: 9.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.878412441001274]