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.001668/0.001668, allocations: 88.33 kB / 20.96 MB, free: 3.473 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.001735/0.001735, allocations: 161.3 kB / 24.27 MB, free: 168 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.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.4234/0.4234, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.1.",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.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.481e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004075/0.00411, allocations: 1.68 MB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.006246, allocations: 0.9625 MB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.006352, allocations: 0 / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.006739, allocations: 59.73 kB / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.007188, allocations: 103.5 kB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.007488, allocations: 71.75 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.007723, allocations: 107.5 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.007768, allocations: 8.172 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.007911, allocations: 51.83 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.008014, allocations: 27.91 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.008037, allocations: 0 / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.008147, allocations: 35.98 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.00822, allocations: 23.86 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.008277, allocations: 19.94 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.008581, allocations: 123.5 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.008588, allocations: 3.984 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.008589, allocations: 0 / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.008595, allocations: 0 / 380.6 MB, free: 15.59 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.0006818/0.009276, allocations: 369.4 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.009312, allocations: 8.031 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.009404, allocations: 16.84 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.009742, allocations: 158.5 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.009758, allocations: 384 / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.00977, allocations: 384 / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.00994, allocations: 54.17 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.009955, allocations: 3.938 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.009969, allocations: 3.984 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.009973, allocations: 0 / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.01006, allocations: 23.98 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.01029, allocations: 149.2 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.01049, allocations: 50.61 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.01055, allocations: 16.86 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.01058, allocations: 3.938 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.01076, allocations: 63.39 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.01076, allocations: 0 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003618/0.01112, allocations: 113.5 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.01117, allocations: 51.41 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.01158, allocations: 275 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.01161, allocations: 37.58 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.01174, allocations: 112.1 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.0118, allocations: 15.91 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.01186, allocations: 17.72 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.01209, allocations: 330.8 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.01216, allocations: 15.98 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/0.01225, allocations: 25.7 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.01237, allocations: 49.7 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01237, allocations: 256 / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002069/0.01258, allocations: 97.53 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.0126, allocations: 4 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.01261, allocations: 3.938 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.01263, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.01271, allocations: 15.98 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.01272, allocations: 0 / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.01277, allocations: 4 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.01278, allocations: 4.031 kB / 382.7 MB, free: 13.35 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 0.0001584/0.01294, allocations: 137.8 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.01298, allocations: 15.91 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.01328, allocations: 106.9 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.01329, allocations: 4 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01329, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.0133, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.01355, allocations: 145.2 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01355, allocations: 0 / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.01359, allocations: 4 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01359, allocations: 4 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01361, allocations: 3.984 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.01361, allocations: 7.875 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01361, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.01388, allocations: 125 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.01391, allocations: 11.95 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.01394, allocations: 0 / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.014, allocations: 8.125 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.01405, allocations: 3.984 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.01408, allocations: 8 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003082/0.01438, allocations: 216.5 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01438, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003817/0.01477, allocations: 12 kB / 383.5 MB, free: 12.49 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.002216/0.01698, allocations: 435.5 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.01725, allocations: 47.91 kB / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.01726, allocations: 0 / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.01737, allocations: 20 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.01783, allocations: 31.86 kB / 384 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.01854, allocations: 289.1 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.01868, allocations: 101.8 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.01874, allocations: 16.48 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.01879, allocations: 12.5 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01879, allocations: 4 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of Templates: time 0.005856/0.02464, allocations: 1.656 MB / 386.1 MB, free: 10.06 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.088516014046036]