Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001548/0.001548, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001116/0.001116, allocations: 172.4 kB / 24.91 MB, free: 8.266 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.9715/0.9715, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2875/0.2875, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.109e-05, allocations: 5.469 kB / 325.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002769/0.00279, allocations: 2.235 MB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.004669, allocations: 1.314 MB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.004798, allocations: 7.938 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.005112, allocations: 119.2 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.005634, allocations: 262.7 kB / 329.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.005984, allocations: 187.5 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.006409, allocations: 471 kB / 329.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.006514, allocations: 49.23 kB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.006835, allocations: 331.2 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.006973, allocations: 135.5 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.007001, allocations: 20 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.00712, allocations: 71.92 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.007223, allocations: 147.5 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.007296, allocations: 95.45 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.00792, allocations: 342.5 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007923, allocations: 0 / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007924, allocations: 0 / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.007928, allocations: 0 / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005985/0.008527, allocations: 0.7368 MB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.621e-05/0.008553, allocations: 12.03 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.008609, allocations: 44.89 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.00889, allocations: 330.5 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.008908, allocations: 12.38 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.008934, allocations: 12.38 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.00912, allocations: 181 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.009133, allocations: 11.89 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.009145, allocations: 4 kB / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00915, allocations: 4 kB / 332.4 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.009218, allocations: 63.2 kB / 332.5 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.009656, allocations: 0.5456 MB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.009934, allocations: 373.5 kB / 333.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.009986, allocations: 55.53 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.009999, allocations: 8 kB / 333.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.01015, allocations: 168.2 kB / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.272e-06/0.01016, allocations: 4 kB / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008685/0.01102, allocations: 0.6121 MB / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.01108, allocations: 136.5 kB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.01143, allocations: 0.5642 MB / 334.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.01146, allocations: 41.7 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.01153, allocations: 158.2 kB / 335.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.01161, allocations: 142.8 kB / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.01168, allocations: 78.11 kB / 335.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.01178, allocations: 378.6 kB / 335.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.01184, allocations: 47.8 kB / 335.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.01192, allocations: 111.8 kB / 335.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.01209, allocations: 209.1 kB / 336.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.01209, allocations: 4 kB / 336.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002231/0.01231, allocations: 247.9 kB / 336.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01233, allocations: 8 kB / 336.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.01233, allocations: 0 / 336.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.01234, allocations: 4 kB / 336.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01249, allocations: 95.89 kB / 336.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.01249, allocations: 4 kB / 336.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.01257, allocations: 15.98 kB / 336.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.01258, allocations: 12 kB / 336.5 MB, free: 12.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001059/0.01269, allocations: 139.1 kB / 336.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.01274, allocations: 63.81 kB / 336.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.01303, allocations: 281.1 kB / 336.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.01304, allocations: 8 kB / 336.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01304, allocations: 0 / 336.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01304, allocations: 7.984 kB / 336.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.01375, allocations: 1.041 MB / 338 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.01375, allocations: 8 kB / 338 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/0.01385, allocations: 59.92 kB / 338.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.01386, allocations: 11.92 kB / 338.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01387, allocations: 12.25 kB / 338.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01388, allocations: 11.94 kB / 338.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.01388, allocations: 4 kB / 338.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.01423, allocations: 0.7593 MB / 338.9 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.01432, allocations: 79.55 kB / 338.9 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.01436, allocations: 23.92 kB / 339 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.0145, allocations: 19.92 kB / 339 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.01455, allocations: 43.88 kB / 339 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.01458, allocations: 16 kB / 339 MB, free: 9.406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000211/0.01479, allocations: 299.4 kB / 339.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01479, allocations: 0 / 339.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.0151, allocations: 95.86 kB / 339.4 MB, free: 9.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001379/0.01648, allocations: 0.6746 MB / 340.1 MB, free: 8.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.01671, allocations: 201 kB / 340.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.01672, allocations: 8.25 kB / 340.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.01682, allocations: 117.5 kB / 340.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.0173, allocations: 128.7 kB / 340.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.01816, allocations: 0.8956 MB / 341.4 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.01826, allocations: 146.7 kB / 341.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.01839, allocations: 79.25 kB / 341.7 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.01871, allocations: 143.3 kB / 341.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01871, allocations: 3.938 kB / 341.8 MB, free: 6.887 MB / 314.7 MB Notification: Performance of Templates: time 0.008062/0.02677, allocations: 6.28 MB / 348.1 MB, free: 0.7266 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.123201355803758]