Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.0009481/0.0009481, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009829/0.0009829, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.594 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.2898/0.2898, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.903e-05, allocations: 6.312 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.005818/0.005847, allocations: 1.723 MB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.007115, allocations: 0.9897 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.007223, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.007556, allocations: 59.73 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.007913, allocations: 111.4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.008126, allocations: 75.66 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.008304, allocations: 99.64 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.008344, allocations: 8.172 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.008439, allocations: 47.89 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.008521, allocations: 31.91 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.008539, allocations: 4 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.008617, allocations: 31.92 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.008674, allocations: 31.86 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.008718, allocations: 19.92 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.008906, allocations: 99.59 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.008909, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.008911, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.008916, allocations: 0 / 381.4 MB, free: 15.23 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005336/0.00945, allocations: 467.7 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.009484, allocations: 8.031 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.009537, allocations: 20.84 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.009719, allocations: 173.2 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.009736, allocations: 384 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.009748, allocations: 8.375 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.009867, allocations: 54.94 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.009876, allocations: 3.938 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.009884, allocations: 0 / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.009891, allocations: 3.938 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.907e-05/0.00992, allocations: 11.98 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.01009, allocations: 156.6 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.0102, allocations: 55.05 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.01024, allocations: 11.69 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.01025, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.835e-05/0.01035, allocations: 65.05 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.01035, allocations: 0 / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001968/0.01054, allocations: 97.45 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.01058, allocations: 55.41 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01074, allocations: 269.6 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.01076, allocations: 33.7 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.01082, allocations: 162.9 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.01086, allocations: 15.89 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.01089, allocations: 27.38 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01103, allocations: 0.4962 MB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.01106, allocations: 15.98 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.01109, allocations: 23.38 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.386e-05/0.01114, allocations: 47.55 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01115, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.394e-05/0.01124, allocations: 77.59 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.01125, allocations: 4 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01126, allocations: 7.938 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01127, allocations: 0 / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.01134, allocations: 11.94 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01135, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.01138, allocations: 7.984 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.01139, allocations: 0 / 383.8 MB, free: 12.65 MB / 362.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 8.089e-05/0.01147, allocations: 164 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.01149, allocations: 15.91 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.01162, allocations: 90.95 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01162, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01163, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01163, allocations: 3.938 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.01174, allocations: 172.5 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01174, allocations: 0 / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.01176, allocations: 7.938 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.01176, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.01177, allocations: 7.984 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01178, allocations: 3.938 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01178, allocations: 3.984 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.01188, allocations: 120.5 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.0119, allocations: 15.95 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.01192, allocations: 4 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.729e-05/0.01195, allocations: 7.938 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.01198, allocations: 3.984 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.01199, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.464e-05/0.01209, allocations: 200.5 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01209, allocations: 0 / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.01223, allocations: 16 kB / 384.6 MB, free: 11.76 MB / 362.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.0008547/0.01309, allocations: 381.2 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.01322, allocations: 35.67 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01322, allocations: 0 / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.01326, allocations: 31.61 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01346, allocations: 28.61 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.01387, allocations: 242.5 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.01392, allocations: 67.33 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.01395, allocations: 12.48 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.01398, allocations: 16.5 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01398, allocations: 0 / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Templates: time 0.003995/0.01798, allocations: 1.795 MB / 387.2 MB, free: 9.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.1984706330113113]