Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001017/0.001017, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.006076/0.006076, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.9151/0.9151, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2931/0.2931, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.213e-05, allocations: 6.219 kB / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003416/0.003448, allocations: 1.613 MB / 442.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004505, allocations: 0.5258 MB / 443 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.004576, allocations: 0 / 443 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.005164, allocations: 459 kB / 443.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.005711, allocations: 291.2 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.006074, allocations: 128.9 kB / 443.9 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.006375, allocations: 167.6 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.006491, allocations: 8 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.006673, allocations: 115.8 kB / 444.1 MB, free: 428 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.006954, allocations: 247.6 kB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.006975, allocations: 4 kB / 444.4 MB, free: 176 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.007061, allocations: 19.94 kB / 444.4 MB, free: 156 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.007185, allocations: 91.69 kB / 444.5 MB, free: 64 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.007231, allocations: 35.75 kB / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2431/0.2504, allocations: 229.2 kB / 444.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2504, allocations: 3.469 kB / 444.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2504, allocations: 3.094 kB / 444.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2504, allocations: 0 / 444.8 MB, free: 44.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000674/0.2511, allocations: 0.5727 MB / 445.3 MB, free: 44.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2511, allocations: 8.844 kB / 445.3 MB, free: 44.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.2512, allocations: 42.25 kB / 445.4 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.2514, allocations: 240.1 kB / 445.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2514, allocations: 4.094 kB / 445.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2514, allocations: 4.281 kB / 445.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2516, allocations: 57.86 kB / 445.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.2516, allocations: 192 / 445.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2516, allocations: 0.875 kB / 445.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.2516, allocations: 6.781 kB / 445.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.2517, allocations: 30.42 kB / 445.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.2521, allocations: 318.6 kB / 446 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.2522, allocations: 39.62 kB / 446.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.2523, allocations: 24.47 kB / 446.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.2523, allocations: 0.5625 kB / 446.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2523, allocations: 42.75 kB / 446.1 MB, free: 43.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.2523, allocations: 2.969 kB / 446.1 MB, free: 43.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002857/0.2526, allocations: 116 kB / 446.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2526, allocations: 52.72 kB / 446.3 MB, free: 43.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.2533, allocations: 0.8691 MB / 447.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2533, allocations: 25.7 kB / 447.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.2534, allocations: 220 kB / 447.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.2535, allocations: 3.953 kB / 447.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.2535, allocations: 18.53 kB / 447.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.2536, allocations: 361.4 kB / 447.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.2536, allocations: 11.88 kB / 447.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.2537, allocations: 14.64 kB / 447.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.118e-05/0.2537, allocations: 44.83 kB / 447.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2537, allocations: 0 / 447.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001477/0.2539, allocations: 108.4 kB / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2539, allocations: 5.688 kB / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2539, allocations: 0 / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2539, allocations: 2.781 kB / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.254, allocations: 15.34 kB / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.254, allocations: 1.688 kB / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.2541, allocations: 10.77 kB / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2541, allocations: 0 / 448 MB, free: 42.88 MB / 410.7 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 (3): * Single equations (assignments): 3 * 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.0001523/0.2542, allocations: 210 kB / 448.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.2543, allocations: 53.56 kB / 448.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.2545, allocations: 119.8 kB / 448.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2545, allocations: 0 / 448.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2545, allocations: 0 / 448.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2545, allocations: 2.812 kB / 448.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.2547, allocations: 232.6 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2547, allocations: 3.312 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.2547, allocations: 8.812 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2547, allocations: 2.688 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2547, allocations: 7.547 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2547, allocations: 0 / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2547, allocations: 1.812 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.2549, allocations: 198.7 kB / 448.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.2549, allocations: 36.12 kB / 448.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.255, allocations: 10.25 kB / 448.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.255, allocations: 6.156 kB / 448.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.255, allocations: 7.25 kB / 448.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.255, allocations: 0 / 448.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00049/0.2555, allocations: 0.6505 MB / 449.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2555, allocations: 0 / 449.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.2558, allocations: 24.75 kB / 449.6 MB, free: 42.29 MB / 410.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0008116/0.2566, allocations: 378.1 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.2568, allocations: 33.2 kB / 450 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2568, allocations: 2.656 kB / 450 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.2568, allocations: 22.14 kB / 450 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.2572, allocations: 22.77 kB / 450 MB, free: 42.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.2582, allocations: 0.824 MB / 450.8 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.2584, allocations: 221.1 kB / 451 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.2584, allocations: 11.28 kB / 451.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2584, allocations: 0 / 451.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of Templates: time 0.005944/0.2644, allocations: 3.668 MB / 454.7 MB, free: 40.85 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.2489970959723]