Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001415/0.001415, allocations: 84.84 kB / 20.68 MB, free: 1.035 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.001432/0.001432, allocations: 165.1 kB / 23.96 MB, free: 4.164 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.496/1.496, allocations: 177.2 MB / 204.3 MB, free: 9.184 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.209/0.209, allocations: 34.27 MB / 294.9 MB, free: 14.59 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.711e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00414/0.004167, allocations: 1.598 MB / 444.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.0058, allocations: 0.5375 MB / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.005867, allocations: 0 / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.006133, allocations: 19.86 kB / 444.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.006555, allocations: 79.55 kB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.007028, allocations: 115.2 kB / 445 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.007231, allocations: 63.78 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.007354, allocations: 11.94 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.007449, allocations: 35.89 kB / 445.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.007524, allocations: 15.98 kB / 445.2 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.007554, allocations: 4 kB / 445.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.00767, allocations: 27.94 kB / 445.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.007753, allocations: 19.91 kB / 445.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.007798, allocations: 11.94 kB / 445.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.008088, allocations: 79.72 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.008093, allocations: 0 / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.008095, allocations: 3.938 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.008101, allocations: 0 / 445.3 MB, free: 2.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007625/0.008863, allocations: 309.9 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.00892, allocations: 8.031 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.008989, allocations: 16.83 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.009293, allocations: 135.6 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.009319, allocations: 4.375 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.009353, allocations: 4.375 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.009575, allocations: 50.23 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.009593, allocations: 192 / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.009609, allocations: 4.125 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.009616, allocations: 0 / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.009759, allocations: 27.92 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.0103, allocations: 228.6 kB / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.01059, allocations: 42.56 kB / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.01067, allocations: 16.94 kB / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.01069, allocations: 11.88 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.01073, allocations: 30.56 kB / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.01074, allocations: 0 / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008589/0.0116, allocations: 153.7 kB / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.01165, allocations: 55.41 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.01188, allocations: 144.6 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.0119, allocations: 29.7 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.01199, allocations: 100.1 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.01202, allocations: 15.86 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.01208, allocations: 21.7 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.01226, allocations: 318.8 kB / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.01237, allocations: 19.98 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01249, allocations: 23.97 kB / 447 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.01271, allocations: 52.83 kB / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01271, allocations: 0 / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003115/0.01302, allocations: 97.73 kB / 447.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.01304, allocations: 4 kB / 447.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01305, allocations: 4 kB / 447.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.01307, allocations: 3.984 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.01316, allocations: 12 kB / 447.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01317, allocations: 4 kB / 447.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.01324, allocations: 7.984 kB / 447.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.01325, allocations: 3.938 kB / 447.2 MB, free: 0.6758 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 (5): * Single equations (assignments): 5 * 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.0001201/0.01337, allocations: 114.5 kB / 447.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.01343, allocations: 11.89 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.01379, allocations: 98.11 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.0138, allocations: 3.938 kB / 447.5 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.0138, allocations: 0 / 447.5 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01381, allocations: 8 kB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.01443, allocations: 302.1 kB / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01443, allocations: 0 / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.01451, allocations: 15.92 kB / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01452, allocations: 0 / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.01453, allocations: 0 / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01453, allocations: 4 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01453, allocations: 0 / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2374/0.2519, allocations: 181.2 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.2519, allocations: 7.266 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.2519, allocations: 2.938 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.252, allocations: 8.969 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.252, allocations: 8.156 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.2521, allocations: 1.594 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.775e-05/0.2521, allocations: 116.2 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2521, allocations: 1.125 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.2524, allocations: 18.95 kB / 448.1 MB, free: 18.98 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.001548/0.254, allocations: 422.6 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.2542, allocations: 61.64 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2542, allocations: 2.625 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.2543, allocations: 29.42 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.2546, allocations: 14.23 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.255, allocations: 185 kB / 448.8 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.09e-05/0.2551, allocations: 82.77 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.706e-05/0.2551, allocations: 12.34 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.2552, allocations: 14.61 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2552, allocations: 0 / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of Templates: time 0.004228/0.2594, allocations: 1.166 MB / 450.1 MB, free: 18.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.872729875147343]