Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009353/0.0009353, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.994/0.994, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2964/0.2964, allocations: 34.87 MB / 296.6 MB, free: 0.5625 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.152e-05, allocations: 3.156 kB / 378.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00225/0.002271, allocations: 1.935 MB / 380.8 MB, free: 372 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003609, allocations: 1.114 MB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.003709, allocations: 0 / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.004062, allocations: 163.3 kB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.004462, allocations: 183.2 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.004727, allocations: 127.5 kB / 382.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.00501, allocations: 251.2 kB / 382.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.005121, allocations: 17.95 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.005278, allocations: 139.6 kB / 382.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.005417, allocations: 127.7 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.005438, allocations: 8 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.005547, allocations: 63.92 kB / 383 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.005617, allocations: 55.77 kB / 383 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.00567, allocations: 51.78 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.005901, allocations: 187.2 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005904, allocations: 0 / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005905, allocations: 0 / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005909, allocations: 0 / 383.2 MB, free: 13.89 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005577/0.006467, allocations: 0.5653 MB / 383.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.006502, allocations: 12.03 kB / 383.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.006563, allocations: 28.8 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.006786, allocations: 216.6 kB / 384.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.006806, allocations: 4.375 kB / 384.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.00683, allocations: 12.38 kB / 384.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.007008, allocations: 124.6 kB / 384.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.00702, allocations: 192 / 384.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.007032, allocations: 8.297 kB / 384.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.007041, allocations: 3.938 kB / 384.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.007102, allocations: 43.89 kB / 384.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.007543, allocations: 498.5 kB / 384.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.007788, allocations: 114.2 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.007837, allocations: 47.42 kB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.007851, allocations: 3.938 kB / 384.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.007997, allocations: 112.5 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.007998, allocations: 4 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008129/0.008811, allocations: 449.5 kB / 385.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.008852, allocations: 85.05 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.00909, allocations: 362.3 kB / 385.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.009109, allocations: 29.7 kB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.009205, allocations: 203.3 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.009259, allocations: 71.41 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.009313, allocations: 55.36 kB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.009455, allocations: 0.5196 MB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.009514, allocations: 31.98 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.009595, allocations: 84.89 kB / 386.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.009727, allocations: 122.8 kB / 387 MB, free: 9.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.009728, allocations: 4 kB / 387 MB, free: 9.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002124/0.009941, allocations: 197.3 kB / 387.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.009954, allocations: 4 kB / 387.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.00996, allocations: 4.234 kB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.009976, allocations: 0 / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.01007, allocations: 47.92 kB / 387.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01007, allocations: 3.984 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.01012, allocations: 15.92 kB / 387.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.01013, allocations: 8 kB / 387.3 MB, free: 9.574 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.53e-05/0.01022, allocations: 172.6 kB / 387.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.01025, allocations: 47.75 kB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.01052, allocations: 223.7 kB / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01052, allocations: 7.938 kB / 387.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01053, allocations: 0 / 387.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01053, allocations: 3.984 kB / 387.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.01108, allocations: 0.741 MB / 388.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01108, allocations: 8.109 kB / 388.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.01114, allocations: 35.88 kB / 388.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01114, allocations: 4 kB / 388.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01116, allocations: 11.98 kB / 388.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01116, allocations: 0 / 388.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01116, allocations: 4 kB / 388.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.01145, allocations: 0.5027 MB / 389 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.01147, allocations: 27.8 kB / 389.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.0115, allocations: 8 kB / 389.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.01158, allocations: 8 kB / 389.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.01162, allocations: 19.97 kB / 389.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.01164, allocations: 15.98 kB / 389.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.01178, allocations: 247 kB / 389.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01178, allocations: 0 / 389.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.01203, allocations: 51.92 kB / 389.4 MB, free: 7.336 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009608/0.01299, allocations: 488.4 kB / 389.9 MB, free: 7.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.01319, allocations: 131.4 kB / 390 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01319, allocations: 0 / 390 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.35e-05/0.01328, allocations: 79.52 kB / 390.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.01362, allocations: 61.98 kB / 390.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.01415, allocations: 470.3 kB / 390.6 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.389e-05/0.01422, allocations: 92.31 kB / 390.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.01429, allocations: 41.91 kB / 390.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.01434, allocations: 32.48 kB / 390.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01434, allocations: 0 / 390.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of Templates: time 0.004886/0.01922, allocations: 3.328 MB / 394.1 MB, free: 2.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.117760712048039]