Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.002257/0.002257, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002167/0.002167, allocations: 160.8 kB / 24.27 MB, free: 156 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.585/1.585, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3695/0.3695, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.841e-05, allocations: 4.141 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003382/0.00341, allocations: 1.723 MB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.005443, allocations: 0.9996 MB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.478e-05/0.005528, allocations: 4 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.005864, allocations: 55.62 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.006227, allocations: 95.53 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.006454, allocations: 75.66 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.006685, allocations: 111.6 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.006802, allocations: 7.984 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.006943, allocations: 47.89 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.007059, allocations: 31.84 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.007089, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.007232, allocations: 51.84 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.007315, allocations: 19.94 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.007379, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.007697, allocations: 115.6 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.007704, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.007707, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.007714, allocations: 0 / 380.6 MB, free: 15.46 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.0008775/0.008592, allocations: 451.5 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.008634, allocations: 8.031 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.008704, allocations: 16.84 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.008983, allocations: 157.1 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.009002, allocations: 12.34 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.009023, allocations: 4.375 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.009187, allocations: 58.23 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.0092, allocations: 192 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.00921, allocations: 384 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.009222, allocations: 7.938 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.009301, allocations: 15.98 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.009787, allocations: 299.7 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.009992, allocations: 63.16 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.01005, allocations: 23.69 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.01007, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.01026, allocations: 84.91 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01026, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007751/0.01103, allocations: 169.5 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.01109, allocations: 59.34 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.01136, allocations: 250.4 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.01138, allocations: 25.7 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.0115, allocations: 158.8 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.01153, allocations: 23.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.01159, allocations: 35.36 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.01185, allocations: 0.504 MB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.01191, allocations: 19.98 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.01199, allocations: 47.3 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.01211, allocations: 59.31 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01211, allocations: 4 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002164/0.01233, allocations: 109.5 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01234, allocations: 4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.01235, allocations: 4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01236, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.01246, allocations: 19.97 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01246, allocations: 160 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.01251, allocations: 7.984 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01252, allocations: 7.984 kB / 383.3 MB, free: 12.57 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.0001333/0.01265, allocations: 160.6 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.01269, allocations: 23.84 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.01296, allocations: 115.1 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.01296, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01297, allocations: 384 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01297, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.01352, allocations: 420.9 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.01353, allocations: 4 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.01357, allocations: 12 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01357, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01358, allocations: 4 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01358, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01359, allocations: 7.938 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.0139, allocations: 263.5 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.01393, allocations: 19.84 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.01395, allocations: 4 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.01402, allocations: 4.031 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.01408, allocations: 7.984 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.0141, allocations: 8 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.01426, allocations: 175.1 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01426, allocations: 0 / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.01453, allocations: 27.94 kB / 384.5 MB, free: 11.25 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.003391/0.01792, allocations: 493 kB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01818, allocations: 83.52 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01818, allocations: 0 / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.01827, allocations: 39.61 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.01865, allocations: 27.97 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.01925, allocations: 229.9 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.01938, allocations: 96.42 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.598e-05/0.01944, allocations: 17.27 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.01949, allocations: 16.5 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01949, allocations: 0 / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.005861/0.02535, allocations: 1.866 MB / 387.4 MB, free: 8.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.01340609008912]