Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 107.9 kB / 19.8 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 194.9 kB / 22.98 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 251.6 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 44.9 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 67.88 kB / 495.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4322, allocations: 64.26 MB / 0.5464 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003184/0.4354, allocations: 1.658 MB / 0.548 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000859/0.4363, allocations: 445.8 kB / 0.5485 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.4363, allocations: 1.188 kB / 0.5485 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.4369, allocations: 453.3 kB / 0.5489 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.4373, allocations: 250.2 kB / 0.5491 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.4377, allocations: 134 kB / 0.5493 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.4379, allocations: 165.3 kB / 0.5494 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.438, allocations: 8.594 kB / 0.5494 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.4381, allocations: 109.9 kB / 0.5495 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4384, allocations: 250.6 kB / 0.5498 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.4384, allocations: 3.625 kB / 0.5498 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.4385, allocations: 54.97 kB / 0.5498 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4386, allocations: 85.75 kB / 0.5499 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.206e-05/0.4387, allocations: 95.53 kB / 0.55 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.4391, allocations: 269.5 kB / 0.5503 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4391, allocations: 1.031 kB / 0.5503 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4391, allocations: 0 / 0.5503 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4391, allocations: 0 / 0.5503 GB, free: 10.81 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008123/0.44, allocations: 0.6571 MB / 0.5509 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.44, allocations: 9.719 kB / 0.5509 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.4401, allocations: 42.59 kB / 0.551 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.4404, allocations: 301.4 kB / 0.5512 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4404, allocations: 6.531 kB / 0.5513 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4404, allocations: 3.688 kB / 0.5513 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.4406, allocations: 64.2 kB / 0.5513 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4406, allocations: 0 / 0.5513 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4406, allocations: 1.062 kB / 0.5513 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4406, allocations: 1 kB / 0.5513 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-05/0.4407, allocations: 32.05 kB / 0.5513 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.4413, allocations: 393.6 kB / 0.5517 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.4414, allocations: 41.72 kB / 0.5518 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.4415, allocations: 20.66 kB / 0.5518 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4415, allocations: 0 / 0.5518 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4415, allocations: 35.66 kB / 0.5518 GB, free: 9.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4415, allocations: 5.062 kB / 0.5518 GB, free: 9.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009992/0.4425, allocations: 313.6 kB / 0.5521 GB, free: 9.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.4426, allocations: 64.66 kB / 0.5522 GB, free: 9.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.4437, allocations: 0.8525 MB / 0.553 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4438, allocations: 25.7 kB / 0.553 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.444, allocations: 226.2 kB / 0.5533 GB, free: 8.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.4441, allocations: 27.09 kB / 0.5533 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.4442, allocations: 23.3 kB / 0.5533 GB, free: 8.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003019/0.4445, allocations: 359.3 kB / 0.5536 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.4446, allocations: 22.77 kB / 0.5537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.4447, allocations: 34.2 kB / 0.5537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.4448, allocations: 60.45 kB / 0.5538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4448, allocations: 1.344 kB / 0.5538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003378/0.4452, allocations: 137 kB / 0.5539 GB, free: 7.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.4452, allocations: 9.469 kB / 0.5539 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4452, allocations: 0 / 0.5539 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.4452, allocations: 5.219 kB / 0.5539 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4454, allocations: 17.39 kB / 0.5539 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4454, allocations: 5.125 kB / 0.5539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.4454, allocations: 3.469 kB / 0.5539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.4454, allocations: 2.188 kB / 0.5539 GB, free: 7.883 MB / 398.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 (8): * Single equations (assignments): 8 * 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 0.0002904/0.4457, allocations: 214 kB / 0.5541 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.4458, allocations: 42.09 kB / 0.5542 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.4462, allocations: 167.6 kB / 0.5543 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4462, allocations: 1.625 kB / 0.5543 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.4462, allocations: 3.938 kB / 0.5543 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4462, allocations: 0 / 0.5543 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008292/0.4471, allocations: 0.4961 MB / 0.5548 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.4471, allocations: 3.938 kB / 0.5548 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.4471, allocations: 20.02 kB / 0.5548 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4471, allocations: 4 kB / 0.5549 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4472, allocations: 0 / 0.5549 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4472, allocations: 0 / 0.5549 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4472, allocations: 0 / 0.5549 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.4475, allocations: 244.4 kB / 0.5551 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4476, allocations: 112.8 kB / 0.5552 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.4477, allocations: 8 kB / 0.5552 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.4478, allocations: 3.984 kB / 0.5552 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.4478, allocations: 4 kB / 0.5552 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4478, allocations: 8 kB / 0.5552 GB, free: 6.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007986/0.4486, allocations: 0.655 MB / 0.5559 GB, free: 5.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4486, allocations: 0 / 0.5559 GB, free: 5.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000327/0.4489, allocations: 27.94 kB / 0.5559 GB, free: 5.941 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00176/0.4507, allocations: 463 kB / 0.5563 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.451, allocations: 63.89 kB / 0.5564 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.451, allocations: 4 kB / 0.5564 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.4511, allocations: 39.92 kB / 0.5564 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.4516, allocations: 28.39 kB / 0.5565 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.4529, allocations: 0.8191 MB / 0.5573 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.4534, allocations: 0.8219 MB / 0.5581 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.4534, allocations: 16.97 kB / 0.5581 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.4535, allocations: 15.44 kB / 0.5581 GB, free: 3.801 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4535, allocations: 0 / 0.5581 GB, free: 3.801 MB / 398.1 MB Notification: Performance of Templates: time 0.005611/0.4591, allocations: 1.729 MB / 0.5598 GB, free: 2.078 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 5.542985193431377]