Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001074/0.001074, allocations: 95.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.001174/0.001174, allocations: 160.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.04/1.04, allocations: 177 MB / 204.8 MB, free: 5.543 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.2708/0.2708, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.259e-05, allocations: 2.312 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003287/0.003319, allocations: 1.787 MB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.004726, allocations: 1.024 MB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.004834, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.005221, allocations: 103.6 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.005644, allocations: 131.4 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.005926, allocations: 91.53 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.00617, allocations: 131.7 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.00629, allocations: 4 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.006414, allocations: 83.73 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.006534, allocations: 63.84 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.006556, allocations: 8 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.006674, allocations: 59.92 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.006736, allocations: 35.84 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.006789, allocations: 23.86 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.007011, allocations: 131.5 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.007014, allocations: 3.938 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.007015, allocations: 4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.007022, allocations: 0 / 382.5 MB, free: 14.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005212/0.007543, allocations: 483.6 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.007586, allocations: 12.03 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.007645, allocations: 24.84 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.008011, allocations: 165.3 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.008035, allocations: 8.375 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.008061, allocations: 384 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.008205, allocations: 70.88 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.008218, allocations: 4.172 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.008228, allocations: 4.375 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.008238, allocations: 7.938 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/0.008294, allocations: 19.98 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.008691, allocations: 315.6 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.008911, allocations: 67.03 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.008952, allocations: 19.67 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.008972, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.009103, allocations: 81.08 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.009105, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006816/0.009786, allocations: 249.2 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.009824, allocations: 55.41 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.01001, allocations: 270.8 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01003, allocations: 25.7 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.0101, allocations: 166.8 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.01014, allocations: 47.62 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.01018, allocations: 35.36 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.01031, allocations: 0.5001 MB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.01035, allocations: 23.98 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.0104, allocations: 47.36 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.246e-05/0.01049, allocations: 75.17 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01049, allocations: 0 / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001701/0.01066, allocations: 125.6 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.01068, allocations: 4 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01068, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.0107, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.01077, allocations: 27.92 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01078, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.01081, allocations: 8.031 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.01082, allocations: 8 kB / 385.4 MB, free: 11.17 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 (14): * Single equations (assignments): 14 * 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.0001023/0.01092, allocations: 164.5 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.01095, allocations: 19.86 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.01118, allocations: 151.7 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.01118, allocations: 4 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.01119, allocations: 0 / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01119, allocations: 0 / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.01166, allocations: 476.6 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.01166, allocations: 4 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.01171, allocations: 19.94 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.01172, allocations: 7.984 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01173, allocations: 4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.01173, allocations: 4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01173, allocations: 0 / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.012, allocations: 307 kB / 386.6 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.01202, allocations: 15.91 kB / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.01205, allocations: 4 kB / 386.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.01212, allocations: 4 kB / 386.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.01218, allocations: 19.95 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.0122, allocations: 7.984 kB / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004474/0.01265, allocations: 193.4 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01265, allocations: 3.938 kB / 386.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.01293, allocations: 31.94 kB / 386.8 MB, free: 9.664 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 (14): * Single equations (assignments): 12 * 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.001308/0.01424, allocations: 479.6 kB / 387.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.01443, allocations: 71.59 kB / 387.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01443, allocations: 0 / 387.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.0145, allocations: 47.61 kB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.01484, allocations: 31.97 kB / 387.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.01537, allocations: 305.8 kB / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.251e-05/0.01543, allocations: 79.83 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.435e-05/0.01549, allocations: 25.11 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.01555, allocations: 28.44 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01556, allocations: 0 / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of Templates: time 0.005159/0.02071, allocations: 2.252 MB / 390.1 MB, free: 6.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.427876410074532]