Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001446/0.001446, allocations: 81.91 kB / 21.42 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.001439/0.001439, allocations: 169.2 kB / 24.82 MB, free: 9.273 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.9611/0.9611, allocations: 177 MB / 205.1 MB, free: 5.484 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.261/0.261, allocations: 34.87 MB / 296.6 MB, free: 452 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.333e-05, allocations: 2.312 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002409/0.002432, allocations: 1.945 MB / 381.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003667, allocations: 1.04 MB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-05/0.003766, allocations: 3.938 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.004022, allocations: 51.56 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.004271, allocations: 99.42 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.004445, allocations: 99.62 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.004614, allocations: 151.5 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.004705, allocations: 21.78 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.004797, allocations: 67.83 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.004882, allocations: 47.81 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.004899, allocations: 8 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.004971, allocations: 47.86 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.005015, allocations: 31.84 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.005052, allocations: 27.92 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.00523, allocations: 127.5 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005232, allocations: 0 / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005232, allocations: 0 / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.005236, allocations: 0 / 383.1 MB, free: 13.95 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.0004303/0.005666, allocations: 0.5012 MB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.005701, allocations: 20.02 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.00574, allocations: 24.8 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.005905, allocations: 173.1 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.00592, allocations: 4.375 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.005937, allocations: 8.375 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006075, allocations: 131.6 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.006082, allocations: 192 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.006092, allocations: 8.359 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006098, allocations: 7.938 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.419e-05/0.006133, allocations: 27.92 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.006473, allocations: 0.5489 MB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.006611, allocations: 75.02 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.006636, allocations: 23.67 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.006649, allocations: 0 / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.822e-05/0.006738, allocations: 102.7 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 8.12e-07/0.006739, allocations: 0 / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001723/0.006911, allocations: 105.5 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.006934, allocations: 51.41 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.007058, allocations: 246.9 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.007072, allocations: 29.7 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.007138, allocations: 170.7 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.007156, allocations: 23.75 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.007192, allocations: 39.34 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.007306, allocations: 0.4962 MB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.007325, allocations: 11.98 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/0.007366, allocations: 61.66 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.007432, allocations: 82.36 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.007435, allocations: 3.938 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001057/0.00754, allocations: 101.5 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.007551, allocations: 4 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007555, allocations: 7.938 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.007565, allocations: 8.062 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.007626, allocations: 27.98 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.007629, allocations: 0 / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.007663, allocations: 11.92 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.007668, allocations: 4 kB / 386.2 MB, free: 10.56 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.056e-05/0.007749, allocations: 172.4 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.007766, allocations: 19.91 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.007882, allocations: 103 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.007884, allocations: 4 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.007886, allocations: 0 / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007889, allocations: 4 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.383e-05/0.007982, allocations: 137.2 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007984, allocations: 0 / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.008026, allocations: 15.98 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.008029, allocations: 3.938 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.008037, allocations: 4 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.008037, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.008038, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.008176, allocations: 152.8 kB / 386.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.008191, allocations: 19.78 kB / 386.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.008205, allocations: 4.031 kB / 386.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.547e-05/0.00823, allocations: 4 kB / 386.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.008257, allocations: 11.98 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.008267, allocations: 3.984 kB / 386.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.008329, allocations: 167.1 kB / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008329, allocations: 0 / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.008474, allocations: 31.98 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.0007019/0.009176, allocations: 374.8 kB / 387.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.52e-05/0.009271, allocations: 67.45 kB / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.009272, allocations: 0 / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.00931, allocations: 31.61 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.0001734/0.009484, allocations: 40.22 kB / 387.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.009802, allocations: 253.9 kB / 387.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.009838, allocations: 67.84 kB / 387.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.488e-05/0.009883, allocations: 21.45 kB / 387.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.009956, allocations: 102.2 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009956, allocations: 0 / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003447/0.0134, allocations: 2.244 MB / 390.2 MB, free: 6.559 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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: 2.931338975671679]