Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001427/0.001427, allocations: 88.84 kB / 20.68 MB, free: 1.031 MB / 14.72 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.001544/0.001544, allocations: 163.9 kB / 23.96 MB, free: 4.152 MB / 14.72 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.502/1.502, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.2174/0.2174, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.352e-05, allocations: 5.375 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003238/0.003271, allocations: 1.686 MB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004503, allocations: 0.553 MB / 444.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.004566, allocations: 4 kB / 444.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.004852, allocations: 51.73 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.005179, allocations: 91.55 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.005677, allocations: 189.5 kB / 445.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.005885, allocations: 87.7 kB / 445.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005999, allocations: 24.2 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.006089, allocations: 39.91 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.006198, allocations: 43.88 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.00622, allocations: 4 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.006335, allocations: 47.92 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.006407, allocations: 23.91 kB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.006446, allocations: 19.88 kB / 445.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.006684, allocations: 119.5 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.006689, allocations: 0 / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.006691, allocations: 4 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.006697, allocations: 4 kB / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005656/0.007263, allocations: 329.7 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.007306, allocations: 12.03 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.007354, allocations: 12.84 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.007559, allocations: 140.5 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.007574, allocations: 8.359 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.007596, allocations: 4.375 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.007785, allocations: 66.17 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.007798, allocations: 192 / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.007815, allocations: 8.125 kB / 446.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.007819, allocations: 4 kB / 446.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.007984, allocations: 43.95 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.008442, allocations: 256.4 kB / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.008707, allocations: 58.48 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.008791, allocations: 24.97 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.008815, allocations: 3.984 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.008846, allocations: 38.56 kB / 446.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.008847, allocations: 0 / 446.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.00166/0.01051, allocations: 433.3 kB / 447.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.01056, allocations: 51.41 kB / 447.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.01076, allocations: 186.1 kB / 447.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.01079, allocations: 29.7 kB / 447.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.01087, allocations: 104.1 kB / 447.5 MB, free: 472 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.01091, allocations: 39.64 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.01097, allocations: 25.7 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.01113, allocations: 330.8 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.01129, allocations: 47.97 kB / 447.9 MB, free: 12 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1951/0.2063, allocations: 52.58 kB / 447.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.2067, allocations: 124.6 kB / 448.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2067, allocations: 2.516 kB / 448.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003918/0.2071, allocations: 166.7 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2071, allocations: 4.75 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2071, allocations: 4.688 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2071, allocations: 0 / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.2073, allocations: 27.44 kB / 448.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2073, allocations: 1.062 kB / 448.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.2073, allocations: 13.34 kB / 448.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2073, allocations: 2.062 kB / 448.3 MB, free: 19.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001022/0.2074, allocations: 136.9 kB / 448.4 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.2075, allocations: 12.83 kB / 448.4 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.2079, allocations: 189.1 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2079, allocations: 2.75 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2079, allocations: 3.562 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2079, allocations: 0.5625 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.2086, allocations: 436.8 kB / 449 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2086, allocations: 1.188 kB / 449 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.2087, allocations: 30.72 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2087, allocations: 1.25 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2087, allocations: 7.594 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2087, allocations: 9.453 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2087, allocations: 3.969 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.2091, allocations: 263.2 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.2091, allocations: 9.594 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2091, allocations: 6.328 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2092, allocations: 14.03 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.2093, allocations: 11.59 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.2093, allocations: 8.312 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.651e-05/0.2094, allocations: 140.2 kB / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2094, allocations: 0 / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.2097, allocations: 27.42 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001775/0.2115, allocations: 0.4893 MB / 450.1 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.2118, allocations: 123.6 kB / 450.2 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2118, allocations: 0 / 450.2 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.212, allocations: 68.5 kB / 450.2 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2123, allocations: 20.25 kB / 450.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.2128, allocations: 308.9 kB / 450.6 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.2129, allocations: 106.2 kB / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.44e-05/0.213, allocations: 34.66 kB / 450.7 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.2131, allocations: 16.53 kB / 450.7 MB, free: 17.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2131, allocations: 3.938 kB / 450.7 MB, free: 17.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004731/0.2178, allocations: 1.629 MB / 452.3 MB, free: 17.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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: 4.917658928781748]