Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001336/0.001336, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001497/0.001497, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.2509/0.2509, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 442.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.666e-05, allocations: 6.219 kB / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004039/0.004076, allocations: 1.91 MB / 444.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.006346, allocations: 1.009 MB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.006523, allocations: 4 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.006898, allocations: 47.62 kB / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.007349, allocations: 103.4 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.007692, allocations: 99.52 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.00801, allocations: 147.5 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.008142, allocations: 17.81 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.008332, allocations: 83.73 kB / 446.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.008474, allocations: 39.83 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.008509, allocations: 4 kB / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.008656, allocations: 47.92 kB / 446.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.008742, allocations: 31.84 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.008824, allocations: 27.92 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.009189, allocations: 155.4 kB / 446.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.009199, allocations: 7.984 kB / 446.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.0092, allocations: 4 kB / 446.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.009207, allocations: 0 / 446.5 MB, free: 1.574 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007712/0.009978, allocations: 411 kB / 446.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.01002, allocations: 8.031 kB / 446.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.01009, allocations: 24.83 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.01041, allocations: 166.3 kB / 447.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.01043, allocations: 12.38 kB / 447.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.01046, allocations: 4.375 kB / 447.1 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.01076, allocations: 138.4 kB / 447.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01077, allocations: 3.938 kB / 447.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.01079, allocations: 0 / 447.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.0108, allocations: 4 kB / 447.2 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.01098, allocations: 55.89 kB / 447.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.01164, allocations: 444.7 kB / 447.7 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.01204, allocations: 86.66 kB / 447.8 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.01216, allocations: 40.83 kB / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.01218, allocations: 0 / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2211/0.2332, allocations: 112.4 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.2332, allocations: 0 / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004546/0.2337, allocations: 145.6 kB / 448.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2337, allocations: 54.77 kB / 448.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.2339, allocations: 211.7 kB / 448.4 MB, free: 19.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2339, allocations: 26.8 kB / 448.4 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.234, allocations: 117.5 kB / 448.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.234, allocations: 33.67 kB / 448.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.2341, allocations: 28.12 kB / 448.6 MB, free: 19.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.2341, allocations: 328.9 kB / 448.9 MB, free: 18.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.2342, allocations: 31.05 kB / 448.9 MB, free: 18.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2343, allocations: 63.72 kB / 449 MB, free: 18.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.2345, allocations: 101.7 kB / 449.1 MB, free: 18.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2345, allocations: 1.219 kB / 449.1 MB, free: 18.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002859/0.2348, allocations: 147.4 kB / 449.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2348, allocations: 5.438 kB / 449.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.2348, allocations: 4.578 kB / 449.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2349, allocations: 1.812 kB / 449.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.235, allocations: 24.48 kB / 449.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.235, allocations: 1.969 kB / 449.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.2351, allocations: 17.69 kB / 449.3 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2351, allocations: 4.75 kB / 449.3 MB, free: 18.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.048e-05/0.2352, allocations: 127.9 kB / 449.4 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.2352, allocations: 23.42 kB / 449.4 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.2355, allocations: 135.4 kB / 449.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2355, allocations: 1.312 kB / 449.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2355, allocations: 0 / 449.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2355, allocations: 2.094 kB / 449.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.2356, allocations: 147.1 kB / 449.7 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2356, allocations: 1.062 kB / 449.7 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.2357, allocations: 16.39 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2357, allocations: 4.531 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2357, allocations: 5.766 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2357, allocations: 1.453 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2357, allocations: 0.5625 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.2361, allocations: 196.1 kB / 449.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.2362, allocations: 21.34 kB / 449.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2362, allocations: 6.594 kB / 449.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.2363, allocations: 11.22 kB / 450 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.2363, allocations: 6.766 kB / 450 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.2363, allocations: 4.125 kB / 450 MB, free: 18.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2364, allocations: 146.5 kB / 450.1 MB, free: 18.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2364, allocations: 0 / 450.1 MB, free: 18.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.2367, allocations: 32.78 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001591/0.2383, allocations: 450.6 kB / 450.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.2385, allocations: 82.25 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2385, allocations: 0 / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.2387, allocations: 39.94 kB / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.239, allocations: 35.3 kB / 450.7 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.2395, allocations: 258.5 kB / 451 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.015e-05/0.2395, allocations: 106.8 kB / 451.1 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.425e-05/0.2396, allocations: 23.22 kB / 451.1 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.2397, allocations: 17.89 kB / 451.1 MB, free: 17.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2397, allocations: 0 / 451.1 MB, free: 17.61 MB / 366.1 MB Notification: Performance of Templates: time 0.006107/0.2458, allocations: 2.033 MB / 453.2 MB, free: 17.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.026188775897026]