Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001208/0.001208, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001451/0.001451, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.961/0.961, allocations: 177.2 MB / 205 MB, free: 5.297 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.2612/0.2612, allocations: 34.26 MB / 295.7 MB, free: 0.6406 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.098e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002732/0.002763, allocations: 1.633 MB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003802, allocations: 0.5336 MB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.003882, allocations: 4 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.004163, allocations: 23.8 kB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.004536, allocations: 79.55 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.004815, allocations: 91.69 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.004994, allocations: 67.78 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005112, allocations: 7.984 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.005185, allocations: 27.92 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.00527, allocations: 19.91 kB / 380.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.00529, allocations: 8 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.005394, allocations: 31.92 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.005446, allocations: 11.94 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.005479, allocations: 15.92 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.005656, allocations: 71.73 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.00566, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005661, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.005666, allocations: 0 / 380.7 MB, free: 15.98 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.0006167/0.006283, allocations: 404.2 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.006324, allocations: 12.03 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.006375, allocations: 12.89 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.00652, allocations: 145 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.006528, allocations: 384 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.006549, allocations: 384 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.006671, allocations: 62.88 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.006682, allocations: 4.125 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006693, allocations: 4.125 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.006699, allocations: 4 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.006732, allocations: 11.98 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.007013, allocations: 259.9 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.007185, allocations: 50.98 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.007212, allocations: 11.69 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.007232, allocations: 3.938 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.007255, allocations: 37.48 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.007256, allocations: 0 / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003478/0.007604, allocations: 105.4 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.007636, allocations: 51.41 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.007747, allocations: 196.1 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.007756, allocations: 29.7 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.007813, allocations: 142.9 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.007848, allocations: 23.8 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.007882, allocations: 23.36 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.007998, allocations: 0.4884 MB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.008019, allocations: 12.05 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.008034, allocations: 8 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.008079, allocations: 23.69 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008079, allocations: 0 / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.022e-05/0.00816, allocations: 61.52 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008173, allocations: 8 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.008177, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.00819, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.008245, allocations: 15.98 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00825, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.00827, allocations: 8 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.008277, allocations: 0 / 382.9 MB, free: 13.6 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 7.839e-05/0.008355, allocations: 156.6 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.008374, allocations: 11.89 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.008501, allocations: 74.06 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.008504, allocations: 4 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.008508, allocations: 0 / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.008511, allocations: 3.938 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.008733, allocations: 321.4 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008735, allocations: 320 / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.008779, allocations: 15.94 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.008783, allocations: 4 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.00879, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.008794, allocations: 3.984 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008795, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.008906, allocations: 207.8 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.008915, allocations: 7.953 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.008926, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.959e-05/0.008956, allocations: 8 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.008985, allocations: 3.984 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.00899, allocations: 4 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.713e-05/0.009047, allocations: 149.9 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009047, allocations: 0 / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.009203, allocations: 15.88 kB / 383.8 MB, free: 12.55 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.000918/0.01012, allocations: 385.5 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01024, allocations: 31.67 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01024, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.01027, allocations: 23.61 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01049, allocations: 26.67 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.01087, allocations: 178.6 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.01119, allocations: 63.34 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.01121, allocations: 4 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.01124, allocations: 12.5 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01124, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Templates: time 0.003047/0.01429, allocations: 1.244 MB / 385.8 MB, free: 10.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.1274125510826707]