Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001003/0.001003, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001045/0.001045, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.007/1.007, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1611/0.1611, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.089e-05, allocations: 6.25 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002419/0.00245, allocations: 1.637 MB / 349.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005714/0.003021, allocations: 327.3 kB / 350.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.0031, allocations: 0 / 350.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.003643, allocations: 455.1 kB / 350.5 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.003902, allocations: 251.4 kB / 350.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.004136, allocations: 107.7 kB / 350.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.004334, allocations: 163.6 kB / 351 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.004442, allocations: 12.17 kB / 351.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.004569, allocations: 115.8 kB / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.004733, allocations: 243.6 kB / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.004753, allocations: 4 kB / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.004827, allocations: 24 kB / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.107e-05/0.004908, allocations: 87.69 kB / 351.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.004937, allocations: 31.75 kB / 351.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.005119, allocations: 199.1 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005121, allocations: 0 / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005122, allocations: 0 / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005126, allocations: 0 / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004544/0.00558, allocations: 0.6853 MB / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.005622, allocations: 12.03 kB / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.005672, allocations: 48.66 kB / 352.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.005813, allocations: 240.9 kB / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.005824, allocations: 4.375 kB / 352.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.005842, allocations: 384 / 352.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.005946, allocations: 54.95 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.00596, allocations: 8.172 kB / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.005969, allocations: 3.938 kB / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.005979, allocations: 0 / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.006006, allocations: 11.92 kB / 352.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.006293, allocations: 336.3 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.006448, allocations: 54.97 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.006462, allocations: 11.62 kB / 353.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.006486, allocations: 8 kB / 353.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.006503, allocations: 33.39 kB / 353.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.006504, allocations: 0 / 353.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000286/0.00679, allocations: 125.3 kB / 353.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.006809, allocations: 51.41 kB / 353.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.007086, allocations: 0.5923 MB / 354 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.007095, allocations: 33.7 kB / 354 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.0072, allocations: 294.7 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.007223, allocations: 15.84 kB / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.00726, allocations: 27.36 kB / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.007367, allocations: 0.5586 MB / 354.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.00738, allocations: 0 / 354.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.007391, allocations: 4 kB / 354.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.007417, allocations: 15.69 kB / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.007421, allocations: 7.938 kB / 355 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.256e-05/0.007494, allocations: 97.34 kB / 355 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.007506, allocations: 4 kB / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007511, allocations: 0 / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.007525, allocations: 0 / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.763e-05/0.007562, allocations: 15.98 kB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007566, allocations: 0 / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.007591, allocations: 4 kB / 355.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.007594, allocations: 0 / 355.1 MB, free: 1.996 MB / 282.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.401e-05/0.007658, allocations: 164.5 kB / 355.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.007688, allocations: 39.72 kB / 355.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.007798, allocations: 97.36 kB / 355.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007801, allocations: 4 kB / 355.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007803, allocations: 0 / 355.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.007809, allocations: 8 kB / 355.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.008049, allocations: 385.9 kB / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008051, allocations: 0 / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.008075, allocations: 15.94 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.008076, allocations: 0 / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.008081, allocations: 0 / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.008082, allocations: 3.984 kB / 355.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.008083, allocations: 0 / 355.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.09e-05/0.008164, allocations: 235.6 kB / 356 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.008187, allocations: 31.75 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.008202, allocations: 4 kB / 356 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.008239, allocations: 11.94 kB / 356.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.008276, allocations: 3.984 kB / 356.1 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.00828, allocations: 4 kB / 356.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.008434, allocations: 382.7 kB / 356.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008434, allocations: 0 / 356.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000161/0.008595, allocations: 23.94 kB / 356.5 MB, free: 0.543 MB / 282.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.0007718/0.009367, allocations: 386.9 kB / 356.8 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.399e-05/0.009441, allocations: 27.67 kB / 356.9 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.009442, allocations: 4 kB / 356.9 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.00946, allocations: 19.69 kB / 356.9 MB, free: 204 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.009685, allocations: 35.03 kB / 356.9 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.01031, allocations: 0.5668 MB / 357.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.045e-05/0.0104, allocations: 119.3 kB / 357.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.01044, allocations: 11.98 kB / 357.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.0105, allocations: 78.2 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0105, allocations: 0 / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.003791/0.01429, allocations: 1.463 MB / 359.2 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/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.3251254339702427]