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.001128/0.001128, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001262/0.001262, allocations: 171.9 kB / 24.82 MB, free: 9.254 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 1.011/1.011, allocations: 177 MB / 205.1 MB, free: 5.473 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.2684/0.2684, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.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.363e-06/1.363e-06, allocations: 0 / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.703e-05, allocations: 11.23 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002463/0.00248, allocations: 1.951 MB / 381.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.003917, allocations: 1.042 MB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.004042, allocations: 7.938 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.004407, allocations: 39.66 kB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.004746, allocations: 107.3 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.004986, allocations: 91.64 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.005191, allocations: 155.5 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.005305, allocations: 17.8 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.005422, allocations: 79.8 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.005517, allocations: 39.83 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.005536, allocations: 8 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.005622, allocations: 51.86 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.005673, allocations: 23.91 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.005719, allocations: 31.86 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.005914, allocations: 131.5 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005916, allocations: 0 / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005917, allocations: 0 / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.005921, allocations: 4 kB / 383.1 MB, free: 13.94 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.0005139/0.006435, allocations: 0.4974 MB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.00647, allocations: 15.97 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.006508, allocations: 20.8 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.006659, allocations: 173.1 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.006674, allocations: 4.375 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.006693, allocations: 8.375 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.006839, allocations: 139.6 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.006847, allocations: 192 / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.006856, allocations: 8.375 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.006863, allocations: 7.938 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.713e-05/0.0069, allocations: 27.05 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.007261, allocations: 0.5527 MB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.007409, allocations: 67.05 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.007436, allocations: 27.66 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.007451, allocations: 0 / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.007551, allocations: 102.7 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 8.81e-07/0.007552, allocations: 0 / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001621/0.007714, allocations: 101.5 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.007737, allocations: 55.34 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.007855, allocations: 251 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.00787, allocations: 25.7 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.007934, allocations: 166.8 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.007954, allocations: 35.72 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.007987, allocations: 31.36 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.008098, allocations: 0.5001 MB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.008121, allocations: 8 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.008158, allocations: 62.42 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.693e-05/0.008225, allocations: 78.34 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.008229, allocations: 3.938 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001053/0.008334, allocations: 113.4 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.008345, allocations: 8 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.00835, allocations: 4.125 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.00836, allocations: 0 / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.008415, allocations: 23.98 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.008418, allocations: 0 / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.008449, allocations: 15.88 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.008458, allocations: 8 kB / 386.2 MB, free: 10.55 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 6.776e-05/0.008525, allocations: 164.5 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.008543, allocations: 23.91 kB / 386.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.008658, allocations: 95.06 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.00866, allocations: 8 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.008662, allocations: 3.984 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.008665, allocations: 0 / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.796e-05/0.008753, allocations: 137.2 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008754, allocations: 0 / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.008795, allocations: 8 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.008797, allocations: 7.938 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.008804, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.008805, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.008806, allocations: 3.984 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.008943, allocations: 156.7 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.008958, allocations: 23.81 kB / 386.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.008972, allocations: 0 / 386.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.008999, allocations: 11.98 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.009024, allocations: 7.984 kB / 386.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.009034, allocations: 4 kB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.134e-05/0.009096, allocations: 167.1 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009096, allocations: 0 / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000148/0.009244, allocations: 24 kB / 387 MB, free: 9.656 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.000693/0.009937, allocations: 378.9 kB / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.01003, allocations: 55.53 kB / 387.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01003, allocations: 0 / 387.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.01007, allocations: 35.84 kB / 387.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.01025, allocations: 51.14 kB / 387.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.01054, allocations: 246 kB / 387.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.01057, allocations: 71.83 kB / 387.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.801e-05/0.01061, allocations: 25.47 kB / 387.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.01068, allocations: 94.19 kB / 387.9 MB, free: 8.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01068, allocations: 4 kB / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of Templates: time 0.00339/0.01407, allocations: 2.239 MB / 390.2 MB, free: 6.562 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.0028351061046124]