Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.00106/0.00106, 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.001084/0.001084, allocations: 161 kB / 24.55 MB, free: 20 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.008/1.008, 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.2756/0.2756, allocations: 34.27 MB / 295.7 MB, free: 0.7578 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.098e-05, allocations: 6.25 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.0021/0.002121, allocations: 1.77 MB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003256, allocations: 1.012 MB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.003324, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.00359, allocations: 47.66 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.003867, allocations: 95.53 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.004039, allocations: 83.59 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.004557, allocations: 111.6 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.004649, allocations: 7.984 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.00473, allocations: 51.78 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.004797, allocations: 27.91 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.004814, allocations: 7.984 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.004891, allocations: 43.92 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.004939, allocations: 23.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.004974, allocations: 15.94 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.005136, allocations: 115.5 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.005138, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005139, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.005142, allocations: 0 / 381.5 MB, free: 15.16 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.0003937/0.005536, allocations: 451.8 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.005573, allocations: 12.03 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.005614, allocations: 12.89 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.005764, allocations: 152.9 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.005784, allocations: 8.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.00581, allocations: 384 / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.005917, allocations: 66.88 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.005926, allocations: 3.938 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.005936, allocations: 4 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.005943, allocations: 4 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.005974, allocations: 7.984 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.006244, allocations: 287.8 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.006341, allocations: 55.11 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.006371, allocations: 27.61 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.006384, allocations: 4 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.785e-05/0.006472, allocations: 72.98 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.006473, allocations: 0 / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003628/0.006836, allocations: 157.3 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.006863, allocations: 51.41 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.006993, allocations: 233.9 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.007007, allocations: 33.7 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.007064, allocations: 154.8 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.007089, allocations: 23.8 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.007122, allocations: 35.36 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.007226, allocations: 0.4962 MB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.00725, allocations: 8 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.007283, allocations: 39.3 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.007341, allocations: 55.36 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.007342, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001034/0.007446, allocations: 93.56 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.007458, allocations: 8 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007462, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.00748, allocations: 4.031 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.007543, allocations: 15.98 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.007549, allocations: 4 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.007576, allocations: 3.953 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.007583, allocations: 4 kB / 384.1 MB, free: 12.39 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 7.089e-05/0.007654, allocations: 172.4 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.007669, allocations: 15.94 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.007809, allocations: 99.08 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007812, allocations: 4 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.007815, allocations: 4 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.00782, allocations: 3.984 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.008084, allocations: 396.9 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008086, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.008111, allocations: 12 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008112, allocations: 0 / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.008119, allocations: 0 / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.008123, allocations: 7.984 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008124, allocations: 0 / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.008265, allocations: 259.4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.008277, allocations: 19.88 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.008292, allocations: 384 / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.008332, allocations: 4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.008367, allocations: 11.98 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.00838, allocations: 8 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.098e-05/0.008461, allocations: 180.1 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008461, allocations: 0 / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.008632, allocations: 23.94 kB / 385.3 MB, free: 11.11 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.0009339/0.009566, allocations: 434.6 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.009681, allocations: 59.59 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.009683, allocations: 0 / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.009723, allocations: 31.67 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.009947, allocations: 31.97 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.01028, allocations: 225.8 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.741e-05/0.01032, allocations: 67.34 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.01035, allocations: 17.09 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.01038, allocations: 20.5 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01038, allocations: 0 / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Templates: time 0.00326/0.01365, allocations: 1.867 MB / 388 MB, free: 8.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.212765302043408]