Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.0009153/0.0009153, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009976/0.0009976, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.9844/0.9844, allocations: 177.1 MB / 205 MB, free: 5.297 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.2843/0.2843, allocations: 34.25 MB / 295.7 MB, free: 0.707 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.425e-05, allocations: 5.969 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003364/0.003398, allocations: 1.766 MB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.004938, allocations: 1.009 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.005002, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.005226, allocations: 43.66 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.005521, allocations: 95.53 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.005724, allocations: 79.59 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.005898, allocations: 115.6 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.566e-05/0.005974, allocations: 4 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.006053, allocations: 55.83 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/0.006112, allocations: 27.84 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.006126, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.0062, allocations: 47.92 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.006244, allocations: 19.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.006277, allocations: 23.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.006421, allocations: 103.6 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006424, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006425, allocations: 3.938 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.006429, allocations: 0 / 381.5 MB, free: 15.16 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007983/0.007228, allocations: 443.9 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.007257, allocations: 8.031 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.007297, allocations: 24.83 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.007436, allocations: 157.1 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.007449, allocations: 384 / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.007465, allocations: 4.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.007555, allocations: 62.88 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.007562, allocations: 3.938 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.007572, allocations: 8 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007576, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.007606, allocations: 11.98 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.007853, allocations: 287.8 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.007939, allocations: 55.11 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.007965, allocations: 23.62 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.007975, allocations: 4 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.075e-05/0.008056, allocations: 69.05 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.008057, allocations: 0 / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003227/0.008379, allocations: 153.4 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.008403, allocations: 51.41 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.008524, allocations: 238.3 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.008536, allocations: 25.7 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.008584, allocations: 150.9 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.008608, allocations: 31.78 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.008638, allocations: 31.31 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.008749, allocations: 0.4962 MB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.008771, allocations: 15.92 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.008804, allocations: 35.36 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.008857, allocations: 55.36 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.008858, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.695e-05/0.008955, allocations: 97.52 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.008964, allocations: 6.5 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.008969, allocations: 4.031 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.008979, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.009034, allocations: 12 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.009038, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.009063, allocations: 7.984 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.009067, allocations: 0 / 384 MB, free: 12.4 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 (10): * Single equations (assignments): 10 * 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 6.487e-05/0.009132, allocations: 168.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.009151, allocations: 11.95 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.009317, allocations: 107.1 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.00932, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.009322, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.009326, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.009576, allocations: 396.9 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009578, allocations: 0 / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.009606, allocations: 15.98 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.009608, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.009614, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.009617, allocations: 4 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009617, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.009758, allocations: 255.4 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.009769, allocations: 15.94 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.009783, allocations: 4.375 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.009823, allocations: 7.984 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.009847, allocations: 7.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.009857, allocations: 7.984 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.659e-05/0.009934, allocations: 176.1 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009934, allocations: 0 / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000164/0.0101, allocations: 23.94 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0008936/0.01099, allocations: 442.5 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.01109, allocations: 59.59 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01109, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.01113, allocations: 27.67 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01133, allocations: 31.97 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.01164, allocations: 221.9 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.01168, allocations: 63.34 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.01172, allocations: 17.09 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.01175, allocations: 16.5 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01175, allocations: 0 / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003109/0.01486, allocations: 1.877 MB / 388 MB, free: 8.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.258417644072324]