Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001187/0.001187, allocations: 81.97 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.001356/0.001356, allocations: 164.8 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.9833/0.9833, allocations: 177.1 MB / 206 MB, free: 4.512 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.1424/0.1424, allocations: 34.26 MB / 296.8 MB, free: 13.95 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 379.4 MB, free: 23.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.531e-05, allocations: 5.547 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.005527/0.005553, allocations: 1.703 MB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.006751, allocations: 0.978 MB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.006839, allocations: 0 / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.007127, allocations: 67.73 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.01045, allocations: 111.4 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.01066, allocations: 75.67 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.01081, allocations: 111.6 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.01086, allocations: 4.234 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.01095, allocations: 59.81 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.01104, allocations: 35.91 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.01105, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.01112, allocations: 47.84 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.01117, allocations: 19.92 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.0112, allocations: 15.94 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.01135, allocations: 83.72 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01136, allocations: 3.938 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01136, allocations: 0 / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.01136, allocations: 0 / 382.7 MB, free: 20.01 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.0003561/0.01172, allocations: 443.9 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.01175, allocations: 12.03 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.01179, allocations: 12.89 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.01191, allocations: 157 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.01193, allocations: 384 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.01194, allocations: 4.375 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.01203, allocations: 58.94 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.01204, allocations: 7.922 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.01204, allocations: 0 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.01205, allocations: 0 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.01207, allocations: 7.984 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.867e-05/0.01217, allocations: 117.3 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.01225, allocations: 43.05 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.01227, allocations: 23.67 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.01229, allocations: 4 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.073e-05/0.01237, allocations: 57.05 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.01237, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001513/0.01252, allocations: 85.47 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.01254, allocations: 55.41 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.407e-05/0.01264, allocations: 229.8 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.01264, allocations: 25.7 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.01268, allocations: 154.8 kB / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.0127, allocations: 11.95 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.01274, allocations: 31.28 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.01279, allocations: 0.5001 MB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.0128, allocations: 4 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.01282, allocations: 23.36 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.061e-05/0.01286, allocations: 39.3 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01287, allocations: 0 / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.595e-05/0.01295, allocations: 69.59 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.01296, allocations: 4 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01297, allocations: 4.031 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01298, allocations: 3.938 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.01304, allocations: 15.94 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.01305, allocations: 480 / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.01308, allocations: 7.922 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.01309, allocations: 12 kB / 384.9 MB, free: 17.61 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.353e-05/0.01314, allocations: 156.6 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.01316, allocations: 11.91 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.01629, allocations: 82.81 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01629, allocations: 11.88 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01629, allocations: 4 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01629, allocations: 0 / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.01637, allocations: 121.2 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01638, allocations: 0 / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.0164, allocations: 4 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.0164, allocations: 0 / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.01641, allocations: 4 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01641, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01641, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.344e-05/0.01649, allocations: 116.3 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.01651, allocations: 11.95 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.01652, allocations: 4 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.578e-05/0.01655, allocations: 7.984 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.01657, allocations: 4 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01658, allocations: 11.88 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.01663, allocations: 167.1 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01663, allocations: 0 / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.01683, allocations: 16 kB / 385.6 MB, free: 16.82 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.001025/0.01786, allocations: 391.7 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.01796, allocations: 31.67 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01796, allocations: 0 / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.01799, allocations: 27.73 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01822, allocations: 43.02 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.01849, allocations: 204 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.317e-05/0.01852, allocations: 71.28 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.01855, allocations: 8.484 kB / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.0186, allocations: 86.19 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0186, allocations: 0 / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of Templates: time 0.004469/0.02307, allocations: 1.809 MB / 388.2 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.230762922205031]