Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.0009033/0.0009033, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009706/0.0009706, allocations: 174.4 kB / 25.61 MB, free: 8.902 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.896/0.896, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1302/0.1302, allocations: 34.27 MB / 296.9 MB, free: 13.93 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.37e-05, allocations: 5.547 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001591/0.001605, allocations: 1.63 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.002496, allocations: 1.266 MB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.002547, allocations: 3.938 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.002724, allocations: 23.78 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.002955, allocations: 87.56 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.003134, allocations: 91.64 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.003245, allocations: 75.75 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.003325, allocations: 7.859 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.003384, allocations: 35.91 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.00346, allocations: 23.91 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.003473, allocations: 4 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.003577, allocations: 91.81 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.003612, allocations: 19.92 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.003629, allocations: 11.94 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.00378, allocations: 135.5 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003782, allocations: 3.984 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003783, allocations: 0 / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.003786, allocations: 0 / 382.8 MB, free: 19.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002814/0.004068, allocations: 424 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.004096, allocations: 15.97 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.004126, allocations: 8.891 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.516e-05/0.004222, allocations: 128.5 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.004231, allocations: 8.375 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.004246, allocations: 8.344 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.00433, allocations: 104 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004338, allocations: 192 / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004344, allocations: 4.125 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.004348, allocations: 0 / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.004369, allocations: 15.92 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.004527, allocations: 252.4 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.004627, allocations: 39.05 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.133e-05/0.004639, allocations: 11.69 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.00465, allocations: 4 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.004664, allocations: 41.27 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004665, allocations: 4 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002218/0.004887, allocations: 93.56 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.004909, allocations: 81.11 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.004984, allocations: 195.7 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-06/0.004989, allocations: 25.7 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.005015, allocations: 146.9 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.005029, allocations: 15.84 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.005052, allocations: 23.38 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.00509, allocations: 0.4923 MB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.005099, allocations: 4 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.00512, allocations: 57 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/0.005144, allocations: 23.69 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.005144, allocations: 0 / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.275e-05/0.005197, allocations: 61.52 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.005206, allocations: 4 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.00521, allocations: 4 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.005217, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.298e-05/0.00525, allocations: 11.98 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.005252, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.005271, allocations: 4 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.005275, allocations: 4.031 kB / 385.1 MB, free: 17.38 MB / 314.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 3.53e-05/0.00531, allocations: 160.6 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.00533, allocations: 11.89 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.005403, allocations: 74.25 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005404, allocations: 64 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.005406, allocations: 4 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005409, allocations: 0 / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.005561, allocations: 298 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005563, allocations: 3.984 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.005585, allocations: 8 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005587, allocations: 4 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.005591, allocations: 4 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005592, allocations: 3.938 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005593, allocations: 0 / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.105e-05/0.005654, allocations: 207.8 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.005662, allocations: 7.938 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.005672, allocations: 4 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.005703, allocations: 0 / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.005723, allocations: 4 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.005725, allocations: 3.984 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.00576, allocations: 148.4 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00576, allocations: 4 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000183/0.005943, allocations: 35.92 kB / 386.1 MB, free: 16.34 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: 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.0008439/0.006787, allocations: 484.6 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.006866, allocations: 39.61 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006867, allocations: 0 / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.006884, allocations: 19.67 kB / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.007067, allocations: 26.75 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.007316, allocations: 159.8 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.399e-05/0.00734, allocations: 63.2 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.507e-05/0.007375, allocations: 11.98 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.007427, allocations: 94.17 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007428, allocations: 0 / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of Templates: time 0.002851/0.01028, allocations: 2.03 MB / 389 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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: 2.823710256256163]