Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001/0.001, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0011/0.0011, allocations: 164.6 kB / 24.99 MB, free: 8.805 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 1.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.3165/0.3165, allocations: 34.26 MB / 296 MB, free: 0.793 MB / 266.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.812e-05, allocations: 5.547 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002303/0.002321, allocations: 1.634 MB / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003576, allocations: 1.27 MB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.003631, allocations: 4 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.003824, allocations: 19.86 kB / 381 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.004076, allocations: 91.48 kB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.004255, allocations: 91.62 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.004393, allocations: 63.84 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.004479, allocations: 11.98 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.004534, allocations: 35.84 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.004615, allocations: 19.92 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.004629, allocations: 4 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.004742, allocations: 95.88 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.004783, allocations: 19.91 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.004809, allocations: 11.94 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004994, allocations: 131.5 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004996, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004997, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.005, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.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.0003914/0.005392, allocations: 435.9 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.005433, allocations: 12.03 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.005474, allocations: 8.891 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.005613, allocations: 132.5 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.00562, allocations: 4.375 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.005637, allocations: 384 / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.005808, allocations: 108 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.005818, allocations: 192 / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.005828, allocations: 4.125 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005834, allocations: 0 / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.005861, allocations: 15.98 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.006099, allocations: 275.8 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.006235, allocations: 42.98 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.006258, allocations: 19.69 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.006282, allocations: 7.938 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.006302, allocations: 33.39 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.006303, allocations: 0 / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003026/0.006605, allocations: 97.73 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.006643, allocations: 89.05 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.006751, allocations: 195.9 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.006763, allocations: 25.7 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.006808, allocations: 138.9 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.00683, allocations: 27.78 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.006856, allocations: 19.38 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.006957, allocations: 0.4962 MB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.006973, allocations: 4 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.007005, allocations: 53.06 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.007042, allocations: 27.62 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007043, allocations: 0 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.848e-05/0.007112, allocations: 61.62 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.007122, allocations: 4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.007126, allocations: 48 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.007136, allocations: 3.984 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.404e-05/0.00717, allocations: 8 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007176, allocations: 8.031 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.007196, allocations: 7.938 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.007206, allocations: 4 kB / 383.9 MB, free: 12.88 MB / 362.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 6.008e-05/0.007266, allocations: 160.5 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.007285, allocations: 11.89 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.933e-05/0.007385, allocations: 70.44 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007388, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.007391, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007394, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.007616, allocations: 329.3 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007617, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.007643, allocations: 8 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007645, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.007651, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.007652, allocations: 3.984 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007653, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.641e-05/0.00775, allocations: 211.8 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.007757, allocations: 3.953 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.007774, allocations: 8 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.007806, allocations: 7.875 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.007836, allocations: 11.98 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.007838, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.007894, allocations: 145.4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007894, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.008069, allocations: 35.86 kB / 384.9 MB, free: 11.8 MB / 362.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.0009272/0.008996, allocations: 485.2 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.596e-05/0.009072, allocations: 27.67 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.009074, allocations: 0 / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.009094, allocations: 19.62 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.009285, allocations: 30.86 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.009532, allocations: 169.9 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.009564, allocations: 66.39 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.0096, allocations: 19.97 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.009626, allocations: 12.5 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009627, allocations: 0 / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003172/0.0128, allocations: 1.838 MB / 387.5 MB, free: 9.277 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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: 3.212871260009706]