Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 172.4 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9966/0.9966, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.161/0.161, allocations: 34.25 MB / 296.8 MB, free: 13.96 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 379.4 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.988e-05, allocations: 5.547 kB / 379.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00196/0.00198, allocations: 1.709 MB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.003016, allocations: 0.9858 MB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.003106, allocations: 0 / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.003418, allocations: 47.75 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.003732, allocations: 107.5 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.003913, allocations: 75.66 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.004058, allocations: 99.64 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.004106, allocations: 8.219 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.004194, allocations: 51.84 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.004267, allocations: 23.91 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.004281, allocations: 7.938 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.537e-05/0.004347, allocations: 35.92 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.004391, allocations: 23.92 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.004423, allocations: 23.86 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004561, allocations: 99.66 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004563, allocations: 0 / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004564, allocations: 4 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.004568, allocations: 7.938 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003531/0.004921, allocations: 471.7 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.004953, allocations: 8.031 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.004989, allocations: 16.84 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.005112, allocations: 161.2 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.005127, allocations: 4.375 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.005133, allocations: 384 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/0.005219, allocations: 62.92 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.005228, allocations: 3.938 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.005234, allocations: 4 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.005239, allocations: 0 / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.005259, allocations: 11.98 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.509e-05/0.005354, allocations: 117.3 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.684e-05/0.005431, allocations: 43.05 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.005449, allocations: 23.67 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.005458, allocations: 0 / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.363e-05/0.005542, allocations: 61.05 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.005543, allocations: 0 / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001552/0.005698, allocations: 93.47 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.005719, allocations: 55.39 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.005821, allocations: 273.5 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.00583, allocations: 29.7 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.005869, allocations: 166.8 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.005898, allocations: 11.91 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.005927, allocations: 27.36 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.005977, allocations: 0.5079 MB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.005991, allocations: 7.938 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.006011, allocations: 27.36 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.006045, allocations: 35.31 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006047, allocations: 4 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.526e-05/0.006122, allocations: 65.59 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.006135, allocations: 8 kB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.00614, allocations: 0 / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.006153, allocations: 3.938 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.006212, allocations: 11.94 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.006216, allocations: 8.125 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.006247, allocations: 4 kB / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.006253, allocations: 8.031 kB / 385 MB, free: 17.52 MB / 314.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 (7): * Single equations (assignments): 7 * 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 5.571e-05/0.006309, allocations: 156.6 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.006323, allocations: 15.91 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.935e-05/0.006422, allocations: 90.75 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006425, allocations: 3.938 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.006427, allocations: 3.984 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.006431, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.082e-05/0.006512, allocations: 121.2 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006514, allocations: 4.375 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.006531, allocations: 7.984 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006532, allocations: 4 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.006539, allocations: 8 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006539, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.00654, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.628e-05/0.006616, allocations: 116.3 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.006632, allocations: 23.83 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.006648, allocations: 0 / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.006668, allocations: 4 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.006693, allocations: 7.922 kB / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.006703, allocations: 7.938 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.006761, allocations: 192.5 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006761, allocations: 0 / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000151/0.006912, allocations: 16 kB / 385.7 MB, free: 16.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008022/0.007714, allocations: 389.9 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.49e-05/0.007799, allocations: 31.67 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0078, allocations: 0 / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.007828, allocations: 31.59 kB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.00801, allocations: 38.55 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.008289, allocations: 228.5 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.907e-05/0.008318, allocations: 83.12 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.093e-05/0.008349, allocations: 16.53 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.008404, allocations: 86.19 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008405, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of Templates: time 0.00332/0.01172, allocations: 1.83 MB / 388.4 MB, free: 14.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.152935632970184]