Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001305/0.001305, allocations: 85.36 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.001421/0.001421, allocations: 163.5 kB / 23.95 MB, free: 4.168 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.514/1.514, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.2423/0.2423, allocations: 34.27 MB / 294.9 MB, free: 14.6 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.CombiTable1Ds.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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.763e-05, allocations: 2.281 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00306/0.003088, allocations: 1.598 MB / 444.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004203, allocations: 0.5181 MB / 444.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.004265, allocations: 8 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.004486, allocations: 23.84 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.004804, allocations: 75.56 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.005084, allocations: 90.83 kB / 445 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.005247, allocations: 71.75 kB / 445.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.005354, allocations: 11.94 kB / 445.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.005427, allocations: 27.91 kB / 445.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.005485, allocations: 12 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.005504, allocations: 4 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.005589, allocations: 39.91 kB / 445.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.005644, allocations: 15.92 kB / 445.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.005684, allocations: 11.94 kB / 445.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.005858, allocations: 75.72 kB / 445.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005861, allocations: 3.938 kB / 445.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.005863, allocations: 7.984 kB / 445.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005868, allocations: 0 / 445.3 MB, free: 2.812 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.0004961/0.006364, allocations: 297.9 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.006403, allocations: 8.031 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.006444, allocations: 12.83 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.006631, allocations: 137.5 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006644, allocations: 12.38 kB / 445.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.006663, allocations: 384 / 445.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.006801, allocations: 46.25 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.006813, allocations: 192 / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.006823, allocations: 4.125 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.006827, allocations: 0 / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.006928, allocations: 31.91 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.007259, allocations: 216.6 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.007474, allocations: 46.53 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.00753, allocations: 20.86 kB / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.007549, allocations: 7.875 kB / 446.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.007576, allocations: 30.56 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.007577, allocations: 0 / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005895/0.008167, allocations: 145.4 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.008213, allocations: 55.41 kB / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.008391, allocations: 148.9 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.008409, allocations: 29.7 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.00847, allocations: 96.12 kB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.008497, allocations: 19.86 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.008534, allocations: 17.7 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.008685, allocations: 314.8 kB / 446.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.008755, allocations: 19.98 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.365e-05/0.008818, allocations: 20.17 kB / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.008957, allocations: 48.83 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.008958, allocations: 4 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001951/0.009153, allocations: 89.48 kB / 447.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.009165, allocations: 8 kB / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.009168, allocations: 0 / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.009181, allocations: 0 / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.00925, allocations: 8 kB / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.009254, allocations: 4 kB / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.009295, allocations: 3.984 kB / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.009304, allocations: 8 kB / 447.2 MB, free: 0.7656 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 8.998e-05/0.009394, allocations: 118.4 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.009429, allocations: 11.89 kB / 447.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.009681, allocations: 102 kB / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009683, allocations: 0 / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.009686, allocations: 0 / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.009688, allocations: 0 / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.01009, allocations: 286.2 kB / 447.7 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01009, allocations: 7.938 kB / 447.7 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.01015, allocations: 15.98 kB / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01015, allocations: 0 / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01016, allocations: 0 / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01016, allocations: 192 / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01017, allocations: 4 kB / 447.7 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1892/0.1994, allocations: 177.5 kB / 447.9 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.1994, allocations: 6.859 kB / 447.9 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.1994, allocations: 5.031 kB / 447.9 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.1995, allocations: 6.047 kB / 447.9 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1995, allocations: 4.5 kB / 447.9 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1995, allocations: 1.906 kB / 447.9 MB, free: 19.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.1996, allocations: 117.1 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1996, allocations: 4.156 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.2, allocations: 11.3 kB / 448 MB, free: 19.05 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.001555/0.2015, allocations: 434.6 kB / 448.4 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.2017, allocations: 49.53 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2017, allocations: 1.062 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.2018, allocations: 23.09 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2021, allocations: 24.55 kB / 448.5 MB, free: 18.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.2026, allocations: 177.8 kB / 448.7 MB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.349e-05/0.2026, allocations: 83.48 kB / 448.8 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.591e-05/0.2027, allocations: 6.922 kB / 448.8 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.2027, allocations: 15.39 kB / 448.8 MB, free: 18.72 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2027, allocations: 0 / 448.8 MB, free: 18.72 MB / 366.1 MB Notification: Performance of Templates: time 0.004812/0.2075, allocations: 1.14 MB / 449.9 MB, free: 18.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.873424809426069]