Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001113/0.001113, 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.0009731/0.0009731, allocations: 165.2 kB / 24.99 MB, free: 8.219 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.9833/0.9833, allocations: 177 MB / 205.2 MB, free: 5.566 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.2501/0.2501, allocations: 34.86 MB / 296.6 MB, free: 476 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 378.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.51e-05, allocations: 3.438 kB / 378.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005694/0.005709, allocations: 1.948 MB / 380.8 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.0071, allocations: 1.047 MB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.007194, allocations: 3.938 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.01051, allocations: 47.58 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.01081, allocations: 103.4 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.01101, allocations: 95.64 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.01121, allocations: 155.5 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.01132, allocations: 17.81 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.01143, allocations: 75.8 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.01151, allocations: 35.84 kB / 382.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.01153, allocations: 12 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.01162, allocations: 55.84 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.01167, allocations: 27.86 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.01172, allocations: 27.91 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.01193, allocations: 127.5 kB / 382.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01194, allocations: 0 / 382.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01194, allocations: 4 kB / 382.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.01194, allocations: 3.938 kB / 382.6 MB, free: 14.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005271/0.01247, allocations: 0.4974 MB / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.0125, allocations: 8.031 kB / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.01256, allocations: 28.8 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.01276, allocations: 169.1 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.01278, allocations: 8.375 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.0128, allocations: 4.375 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.01299, allocations: 147.6 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.013, allocations: 4.172 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.01301, allocations: 384 / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.01302, allocations: 11.94 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.87e-05/0.01309, allocations: 39.91 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.01658, allocations: 0.5756 MB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.01678, allocations: 71.09 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.01683, allocations: 27.67 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.01684, allocations: 4 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.01697, allocations: 94.75 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.01697, allocations: 0 / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002452/0.01722, allocations: 121.4 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.01725, allocations: 51.41 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.01742, allocations: 251 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.01744, allocations: 29.7 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.01751, allocations: 166.8 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.01754, allocations: 31.73 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.01758, allocations: 43.3 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.01771, allocations: 0.5 MB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.01774, allocations: 11.98 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.0178, allocations: 62.42 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.41e-05/0.01789, allocations: 82.38 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01789, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001628/0.01806, allocations: 117.5 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01807, allocations: 4 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01807, allocations: 4 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01809, allocations: 3.938 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.01817, allocations: 28.11 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01817, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.01822, allocations: 7.938 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.01823, allocations: 7.984 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 8.037e-05/0.01831, allocations: 172.5 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.01833, allocations: 19.91 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.01849, allocations: 103.1 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01849, allocations: 0 / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.0185, allocations: 4 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.0185, allocations: 0 / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.01862, allocations: 164.5 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01862, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.01868, allocations: 15.98 kB / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01868, allocations: 0 / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01869, allocations: 4 kB / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01869, allocations: 4 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01869, allocations: 0 / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.01889, allocations: 160.2 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.0189, allocations: 15.84 kB / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01892, allocations: 4 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.01896, allocations: 12.03 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.019, allocations: 7.984 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.01901, allocations: 4 kB / 386.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003105/0.02212, allocations: 171.1 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02212, allocations: 3.938 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.02234, allocations: 31.98 kB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001025/0.02337, allocations: 389.3 kB / 387 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.0235, allocations: 55.59 kB / 387.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0235, allocations: 4 kB / 387.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.066e-05/0.02356, allocations: 35.61 kB / 387.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.0238, allocations: 36.17 kB / 387.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.02421, allocations: 254.4 kB / 387.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.02424, allocations: 67.84 kB / 387.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.278e-05/0.0243, allocations: 21.47 kB / 387.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.02433, allocations: 20.48 kB / 387.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02433, allocations: 0 / 387.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of Templates: time 0.007427/0.03176, allocations: 2.056 MB / 389.6 MB, free: 7.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.1438949699513614]