Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001238/0.001238, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.009217/0.009217, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8959/0.8959, allocations: 177.1 MB / 205 MB, free: 5.723 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.2633/0.2633, allocations: 32.8 MB / 294.2 MB, free: 1.184 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 4 kB / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.853e-05, allocations: 7.766 kB / 440.9 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002584/0.002612, allocations: 1.591 MB / 442.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.003404, allocations: 0.5336 MB / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.003472, allocations: 4 kB / 443 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.003692, allocations: 19.86 kB / 443 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.003981, allocations: 87.55 kB / 443.1 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.004241, allocations: 105 kB / 443.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.00441, allocations: 71.7 kB / 443.3 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.004545, allocations: 4 kB / 443.3 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.004623, allocations: 35.89 kB / 443.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.004696, allocations: 15.94 kB / 443.3 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.004714, allocations: 4 kB / 443.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.04e-05/0.004794, allocations: 35.86 kB / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.004864, allocations: 23.91 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.004895, allocations: 8 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.005083, allocations: 75.73 kB / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.005087, allocations: 7.922 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.005089, allocations: 0 / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.005095, allocations: 0 / 443.5 MB, free: 1.07 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.0005015/0.005597, allocations: 313.8 kB / 443.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.005645, allocations: 12.03 kB / 443.8 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.005688, allocations: 4.891 kB / 443.8 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.005854, allocations: 129.7 kB / 443.9 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.005865, allocations: 8.375 kB / 443.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.005894, allocations: 4.375 kB / 443.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.006034, allocations: 42.25 kB / 444 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.00605, allocations: 4.188 kB / 444 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.006062, allocations: 4.125 kB / 444 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006068, allocations: 0 / 444 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.006136, allocations: 27.91 kB / 444 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.006481, allocations: 224.6 kB / 444.2 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.006692, allocations: 42.55 kB / 444.3 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.006727, allocations: 24.84 kB / 444.3 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.006751, allocations: 3.938 kB / 444.3 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.006775, allocations: 42.5 kB / 444.3 MB, free: 92 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.006777, allocations: 0 / 444.3 MB, free: 92 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.2045/0.2112, allocations: 148 kB / 444.5 MB, free: 46.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.2113, allocations: 53.19 kB / 444.5 MB, free: 46.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2114, allocations: 154.7 kB / 444.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.2114, allocations: 27.02 kB / 444.7 MB, free: 46.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.2114, allocations: 94.47 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2114, allocations: 19.72 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.2115, allocations: 25.08 kB / 444.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.2115, allocations: 316.9 kB / 445.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.2116, allocations: 21.08 kB / 445.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.2116, allocations: 18.62 kB / 445.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.184e-05/0.2117, allocations: 57.44 kB / 445.3 MB, free: 46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2117, allocations: 0 / 445.3 MB, free: 46 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/0.2118, allocations: 90.42 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2118, allocations: 8.703 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2118, allocations: 2.844 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2118, allocations: 0 / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.2119, allocations: 11.86 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2119, allocations: 2.812 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.2119, allocations: 7.688 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2119, allocations: 0.9375 kB / 445.4 MB, free: 45.96 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 (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 5.021e-05/0.2119, allocations: 123 kB / 445.5 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.212, allocations: 7.703 kB / 445.5 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.2121, allocations: 108.6 kB / 445.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2121, allocations: 0 / 445.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2121, allocations: 0 / 445.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2121, allocations: 0 / 445.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.2124, allocations: 305.1 kB / 445.9 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2124, allocations: 3.938 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.2124, allocations: 15.75 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2124, allocations: 3.844 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.2124, allocations: 0 / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.2124, allocations: 0 / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2124, allocations: 1.688 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.2125, allocations: 190 kB / 446.1 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.2125, allocations: 10.73 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.2125, allocations: 0 / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.2126, allocations: 6.172 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.2126, allocations: 2.875 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.2126, allocations: 3.844 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.2126, allocations: 119.2 kB / 446.3 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2126, allocations: 0 / 446.3 MB, free: 45.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.2128, allocations: 17.45 kB / 446.3 MB, free: 45.36 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 (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.0006827/0.2135, allocations: 436.7 kB / 446.7 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.2136, allocations: 48.78 kB / 446.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2136, allocations: 2.125 kB / 446.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.2136, allocations: 27.31 kB / 446.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.2139, allocations: 23.14 kB / 446.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.2142, allocations: 205.9 kB / 447 MB, free: 45.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.2143, allocations: 77.5 kB / 447.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.2143, allocations: 18.22 kB / 447.1 MB, free: 45 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2143, allocations: 0 / 447.1 MB, free: 45 MB / 410.7 MB Notification: Performance of Templates: time 0.002087/0.2164, allocations: 1.494 MB / 448.6 MB, free: 44.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.001584333367646]