Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001019/0.001019, allocations: 75.69 kB / 21.69 MB, free: 2.844 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.0009653/0.0009653, allocations: 167.6 kB / 24.99 MB, free: 9.332 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.933/0.933, allocations: 177 MB / 205.2 MB, free: 5.555 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.2587/0.2587, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 378.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.09e-05, allocations: 3.016 kB / 378.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003208/0.003238, allocations: 1.776 MB / 380.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.005298, allocations: 1.016 MB / 381.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.005386, allocations: 3.938 kB / 381.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.005751, allocations: 91.62 kB / 381.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.006126, allocations: 123.4 kB / 381.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.006343, allocations: 79.66 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.006561, allocations: 131.6 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.006664, allocations: 8 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.006789, allocations: 79.73 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.006912, allocations: 59.86 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.006931, allocations: 4 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.007059, allocations: 55.92 kB / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.007128, allocations: 27.86 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.007175, allocations: 23.92 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.007407, allocations: 123.5 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00741, allocations: 0 / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007411, allocations: 4 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.007416, allocations: 0 / 382.4 MB, free: 14.67 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005953/0.008011, allocations: 475.7 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.008054, allocations: 8.031 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.008119, allocations: 16.84 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.008349, allocations: 157.2 kB / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.008371, allocations: 384 / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.008397, allocations: 8.375 kB / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.008562, allocations: 66.92 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.008574, allocations: 192 / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.008587, allocations: 4.375 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.0086, allocations: 11.88 kB / 383.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.00866, allocations: 23.89 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.009067, allocations: 299.7 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.009295, allocations: 59.03 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.009337, allocations: 11.69 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.009352, allocations: 4 kB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.009493, allocations: 77.03 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.009496, allocations: 0 / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006433/0.01014, allocations: 229.3 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.01017, allocations: 51.41 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01032, allocations: 255.1 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01034, allocations: 29.7 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.0104, allocations: 158.9 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.01043, allocations: 39.69 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.01047, allocations: 31.36 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01059, allocations: 0.504 MB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.01062, allocations: 19.98 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.01067, allocations: 50.67 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.01074, allocations: 63.25 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01074, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001276/0.01087, allocations: 113.5 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01088, allocations: 4 kB / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01089, allocations: 0 / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.0109, allocations: 0 / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.01096, allocations: 31.98 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01096, allocations: 0 / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.01099, allocations: 4.031 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.011, allocations: 4 kB / 385.2 MB, free: 11.68 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 (13): * Single equations (assignments): 13 * 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.713e-05/0.01108, allocations: 168.5 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.0111, allocations: 27.89 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.01126, allocations: 124 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01126, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01127, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01127, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.01166, allocations: 452.5 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01166, allocations: 4.062 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.01171, allocations: 23.92 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01171, allocations: 0 / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01173, allocations: 8 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01173, allocations: 0 / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01173, allocations: 0 / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.01194, allocations: 291.1 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.01196, allocations: 19.89 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.01198, allocations: 0 / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.01205, allocations: 8 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.01209, allocations: 19.86 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.0121, allocations: 7.984 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01221, allocations: 179.2 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01221, allocations: 0 / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.01248, allocations: 31.92 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0012/0.01368, allocations: 475 kB / 387 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01382, allocations: 71.53 kB / 387.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01382, allocations: 0 / 387.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.01388, allocations: 39.61 kB / 387.1 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.0142, allocations: 34.31 kB / 387.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.01459, allocations: 269.4 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.01465, allocations: 79.52 kB / 387.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.01469, allocations: 20.62 kB / 387.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.01473, allocations: 20.5 kB / 387.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01473, allocations: 0 / 387.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of Templates: time 0.004452/0.01918, allocations: 2.134 MB / 389.6 MB, free: 7.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.012894542887807]