Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008753/0.0008753, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002028, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007248/0.0007248, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009843/0.001709, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.021/1.021, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08459/1.105, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.2576/0.2576, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02568/0.2833, allocations: 13.24 MB / 292.6 MB, free: 6.465 MB / 282.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.653e-05, allocations: 8.359 kB / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003512/0.003539, allocations: 1.999 MB / 295.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.00539, allocations: 1.056 MB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.005508, allocations: 4 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.005737, allocations: 51.62 kB / 297.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.006085, allocations: 95.42 kB / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.006399, allocations: 99.56 kB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.006667, allocations: 143.5 kB / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.006785, allocations: 22.44 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.006991, allocations: 107.7 kB / 297.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.007095, allocations: 43.83 kB / 297.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.007116, allocations: 8 kB / 297.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.007232, allocations: 39.98 kB / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.007287, allocations: 27.92 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.007337, allocations: 23.88 kB / 297.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.007593, allocations: 131.4 kB / 297.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.00761, allocations: 0 / 297.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007611, allocations: 0 / 297.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.007626, allocations: 0 / 297.8 MB, free: 1.246 MB / 282.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.000599/0.008225, allocations: 402.5 kB / 298.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.008261, allocations: 12.86 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.008308, allocations: 20.92 kB / 298.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.00853, allocations: 162.9 kB / 298.4 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.008552, allocations: 12.36 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.008574, allocations: 4.375 kB / 298.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.008782, allocations: 140.5 kB / 298.5 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.008791, allocations: 4.125 kB / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.008801, allocations: 384 / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.008809, allocations: 7.938 kB / 298.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.008864, allocations: 24.69 kB / 298.6 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.009302, allocations: 370.1 kB / 298.9 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.009532, allocations: 105.3 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.00957, allocations: 20.8 kB / 299 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.009583, allocations: 0 / 299 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.009722, allocations: 107.8 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.009723, allocations: 0 / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001599/0.009883, allocations: 74.53 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.009914, allocations: 55.41 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01007, allocations: 188.1 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.01009, allocations: 29.7 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.01015, allocations: 108 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.01019, allocations: 35.72 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.01023, allocations: 21.72 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01033, allocations: 330.8 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.01036, allocations: 10.83 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.01041, allocations: 48.27 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.345e-05/0.0105, allocations: 82.36 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0105, allocations: 0 / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001439/0.01065, allocations: 91.95 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01066, allocations: 8 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01067, allocations: 0 / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.01068, allocations: 4 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.01078, allocations: 27.98 kB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.01078, allocations: 128 / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.01083, allocations: 19.88 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.01084, allocations: 4 kB / 300.3 MB, free: 14.54 MB / 298.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 9.068e-05/0.01093, allocations: 123.1 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.01096, allocations: 15.92 kB / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.01111, allocations: 79.06 kB / 300.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01111, allocations: 4 kB / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01111, allocations: 0 / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01112, allocations: 0 / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.01124, allocations: 105.7 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01124, allocations: 4 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.01132, allocations: 12 kB / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.01134, allocations: 11.89 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01134, allocations: 0 / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01135, allocations: 7.984 kB / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01136, allocations: 0 / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01136, allocations: 0 / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.01152, allocations: 118.7 kB / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.01155, allocations: 7.938 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.01159, allocations: 7.984 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.01162, allocations: 12 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01164, allocations: 8 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.397e-05/0.0117, allocations: 49.72 kB / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0117, allocations: 0 / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000241/0.01194, allocations: 35.89 kB / 300.9 MB, free: 13.89 MB / 298.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.001676/0.01362, allocations: 0.5392 MB / 301.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.01371, allocations: 48.91 kB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.01372, allocations: 12.25 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.01376, allocations: 32.77 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.01391, allocations: 50.08 kB / 301.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.01437, allocations: 253.8 kB / 301.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.0144, allocations: 67.84 kB / 301.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.01445, allocations: 17.47 kB / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.01453, allocations: 87.28 kB / 301.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01453, allocations: 0 / 301.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of Templates: time 0.003833/0.01837, allocations: 2.249 MB / 304.2 MB, free: 10.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.9210133608430624]