Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.00107/0.00107, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001216/0.001216, allocations: 159.6 kB / 24.98 MB, free: 9.328 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.9647/0.9647, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2879/0.2879, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.699e-06/4.699e-06, allocations: 3.984 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.348e-05/3.818e-05, allocations: 9.828 kB / 378 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003326/0.003364, allocations: 1.626 MB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.004338, allocations: 0.522 MB / 380.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.004408, allocations: 4 kB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.004649, allocations: 35.72 kB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.004975, allocations: 83.61 kB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.005278, allocations: 91.62 kB / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.005461, allocations: 63.78 kB / 380.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.005571, allocations: 11.98 kB / 380.5 MB, free: 492 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.113e-05/0.005642, allocations: 31.91 kB / 380.5 MB, free: 460 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.16e-05/0.005724, allocations: 15.92 kB / 380.5 MB, free: 444 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.00574, allocations: 4 kB / 380.5 MB, free: 440 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.971e-05/0.00584, allocations: 39.92 kB / 380.6 MB, free: 400 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.005897, allocations: 11.94 kB / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.005931, allocations: 11.92 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.006129, allocations: 79.67 kB / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.006133, allocations: 0 / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.006135, allocations: 0 / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.00614, allocations: 0 / 380.7 MB, free: 296 kB / 346.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.0005653/0.006705, allocations: 420.1 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.006748, allocations: 8.031 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.006807, allocations: 12.89 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.006972, allocations: 137.1 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.006982, allocations: 384 / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.007003, allocations: 4.375 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.00712, allocations: 62.64 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.007128, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.007135, allocations: 3.938 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.007142, allocations: 3.984 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.007173, allocations: 7.984 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.007444, allocations: 287.7 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.007613, allocations: 50.92 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.007637, allocations: 11.69 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.007657, allocations: 4 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.007679, allocations: 37.39 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.00768, allocations: 0 / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003274/0.008007, allocations: 93.56 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.008039, allocations: 55.39 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.008154, allocations: 216 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.008165, allocations: 25.7 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.008225, allocations: 150.8 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.008244, allocations: 23.84 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.008275, allocations: 23.36 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.008389, allocations: 0.5 MB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.008404, allocations: 4 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.008416, allocations: 4 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.00845, allocations: 23.62 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.008451, allocations: 0 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.494e-05/0.008516, allocations: 61.64 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.008529, allocations: 10.03 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.008533, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.008549, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.019e-05/0.008589, allocations: 15.98 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008594, allocations: 0 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.008617, allocations: 4 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.008621, allocations: 0 / 382.9 MB, free: 13.86 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.393e-05/0.008685, allocations: 164.5 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.008706, allocations: 19.83 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.008811, allocations: 66.14 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008812, allocations: 0 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.008816, allocations: 320 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008819, allocations: 3.984 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.009288, allocations: 341.3 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.009289, allocations: 0 / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.009317, allocations: 11.98 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.009319, allocations: 0 / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.00933, allocations: 4 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.009331, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009332, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.009439, allocations: 207.8 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-06/0.009446, allocations: 7.953 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.009457, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.009496, allocations: 11.98 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.009524, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.009528, allocations: 7.938 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.65e-05/0.009594, allocations: 158 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009594, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.009759, allocations: 19.94 kB / 383.9 MB, free: 12.78 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.000792/0.01055, allocations: 387.4 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.292e-05/0.01064, allocations: 27.67 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01065, allocations: 0 / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.01067, allocations: 19.62 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.01089, allocations: 22.98 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.0112, allocations: 186.3 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.01123, allocations: 71.34 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.708e-05/0.01126, allocations: 4.25 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.01129, allocations: 16.48 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01129, allocations: 0 / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Templates: time 0.002722/0.01401, allocations: 1.158 MB / 385.8 MB, free: 11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.1790704310406]