Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009395/0.0009395, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009895/0.0009895, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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 1.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.578 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.2842/0.2842, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.967e-05/4.192e-05, allocations: 4.562 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003767/0.003808, allocations: 1.957 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.005714, allocations: 1.11 MB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.005841, allocations: 3.938 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.00638, allocations: 251.2 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005406/0.00692, allocations: 239 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.00722, allocations: 123.5 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.007589, allocations: 283.2 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.007711, allocations: 17.97 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.007932, allocations: 167.5 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.008183, allocations: 183.6 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.008215, allocations: 8 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.008367, allocations: 71.89 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.008477, allocations: 67.7 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.008555, allocations: 43.8 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.00892, allocations: 211.1 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.008925, allocations: 0 / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008927, allocations: 0 / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.008933, allocations: 0 / 383.6 MB, free: 13.27 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.0007462/0.009679, allocations: 0.6235 MB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.009726, allocations: 8.031 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/0.009821, allocations: 40.7 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.01015, allocations: 230.9 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.01019, allocations: 8.375 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.01023, allocations: 12.36 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.0105, allocations: 120.5 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.01052, allocations: 4.188 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.01053, allocations: 8.297 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.01055, allocations: 7.938 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.852e-05/0.01064, allocations: 31.91 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.01123, allocations: 0.5142 MB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.01155, allocations: 114.1 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.01162, allocations: 47.41 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.01164, allocations: 4 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.01183, allocations: 116.3 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.01183, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001077/0.0129, allocations: 477.6 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.01297, allocations: 88.98 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.01334, allocations: 430.8 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.0134, allocations: 37.7 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.01353, allocations: 223.3 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.0136, allocations: 75.38 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.01368, allocations: 47.36 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.01385, allocations: 0.5313 MB / 387.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.014, allocations: 31.98 kB / 387.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.0141, allocations: 80.89 kB / 387.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.01427, allocations: 126.8 kB / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01428, allocations: 0 / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003135/0.01459, allocations: 209.2 kB / 387.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.01461, allocations: 11.98 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01462, allocations: 80 / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.01463, allocations: 4 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.01476, allocations: 35.98 kB / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.01477, allocations: 11.92 kB / 387.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.01484, allocations: 11.94 kB / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01486, allocations: 11.98 kB / 387.8 MB, free: 8.699 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 0.0001125/0.01497, allocations: 172.6 kB / 388 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.01502, allocations: 47.7 kB / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.0154, allocations: 232.4 kB / 388.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.0154, allocations: 4 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.01541, allocations: 0 / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.01542, allocations: 3.984 kB / 388.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007697/0.01619, allocations: 0.7606 MB / 389 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.0162, allocations: 4 kB / 389.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.01641, allocations: 39.98 kB / 389.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.01642, allocations: 4 kB / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.01644, allocations: 11.98 kB / 389.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01644, allocations: 4 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01645, allocations: 0 / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.01685, allocations: 0.5105 MB / 389.6 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.01688, allocations: 31.75 kB / 389.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.01692, allocations: 8 kB / 389.7 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.01705, allocations: 8 kB / 389.7 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.0171, allocations: 23.97 kB / 389.7 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.01713, allocations: 15.98 kB / 389.7 MB, free: 6.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002313/0.01736, allocations: 287.1 kB / 390 MB, free: 6.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01736, allocations: 4 kB / 390 MB, free: 6.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000382/0.01774, allocations: 51.92 kB / 390 MB, free: 6.387 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.001429/0.01917, allocations: 495.2 kB / 390.5 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.01944, allocations: 135.3 kB / 390.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01944, allocations: 0 / 390.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.01956, allocations: 75.53 kB / 390.7 MB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.0201, allocations: 62.88 kB / 390.8 MB, free: 5.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008315/0.02093, allocations: 0.5248 MB / 391.3 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.585e-05/0.02103, allocations: 108.3 kB / 391.4 MB, free: 5.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.02114, allocations: 37.92 kB / 391.5 MB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.02121, allocations: 36.48 kB / 391.5 MB, free: 4.996 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02121, allocations: 0 / 391.5 MB, free: 4.996 MB / 362.7 MB Notification: Performance of Templates: time 0.00735/0.02856, allocations: 3.625 MB / 395.1 MB, free: 1.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.2548224553465843]