Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001666/0.001666, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002426/0.002426, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.2332/0.2332, allocations: 44.92 MB / 359.6 MB, free: 6.246 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 67.89 kB / 0.4943 GB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3132, allocations: 65.47 MB / 0.5583 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003578/0.3168, allocations: 1.642 MB / 0.5599 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3179, allocations: 0.5504 MB / 0.5604 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.3179, allocations: 0 / 0.5604 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.3182, allocations: 91.73 kB / 0.5605 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.3185, allocations: 111.6 kB / 0.5606 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3188, allocations: 91.75 kB / 0.5607 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.3189, allocations: 87.75 kB / 0.5608 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.319, allocations: 14.66 kB / 0.5608 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.3191, allocations: 43.78 kB / 0.5608 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3192, allocations: 63.8 kB / 0.5609 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3192, allocations: 0 / 0.5609 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3193, allocations: 51.92 kB / 0.5609 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.3194, allocations: 19.92 kB / 0.561 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.3194, allocations: 31.73 kB / 0.561 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3196, allocations: 115.2 kB / 0.5611 GB, free: 4.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3196, allocations: 3.984 kB / 0.5611 GB, free: 4.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3196, allocations: 0 / 0.5611 GB, free: 4.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3196, allocations: 0 / 0.5611 GB, free: 4.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005531/0.3202, allocations: 347.8 kB / 0.5614 GB, free: 4.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3202, allocations: 12.03 kB / 0.5614 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.3203, allocations: 12.84 kB / 0.5615 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3205, allocations: 146.9 kB / 0.5616 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3205, allocations: 12.38 kB / 0.5616 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3205, allocations: 8.328 kB / 0.5616 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3207, allocations: 65.72 kB / 0.5617 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3207, allocations: 3.984 kB / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3207, allocations: 4 kB / 0.5617 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3207, allocations: 0 / 0.5617 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.3208, allocations: 23.98 kB / 0.5617 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.3212, allocations: 263.9 kB / 0.562 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3213, allocations: 46.44 kB / 0.562 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.3214, allocations: 20.94 kB / 0.562 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3214, allocations: 0 / 0.562 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3214, allocations: 34.56 kB / 0.5621 GB, free: 3.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3214, allocations: 0 / 0.5621 GB, free: 3.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008656/0.3223, allocations: 233.2 kB / 0.5623 GB, free: 3.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.3223, allocations: 55.39 kB / 0.5623 GB, free: 3.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.3226, allocations: 230.7 kB / 0.5626 GB, free: 3.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3226, allocations: 25.7 kB / 0.5626 GB, free: 3.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3227, allocations: 112.1 kB / 0.5627 GB, free: 2.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.3227, allocations: 27.75 kB / 0.5627 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.3227, allocations: 17.72 kB / 0.5627 GB, free: 2.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3229, allocations: 334.8 kB / 0.563 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.323, allocations: 23.98 kB / 0.5631 GB, free: 2.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.323, allocations: 27.92 kB / 0.5631 GB, free: 2.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3232, allocations: 60.83 kB / 0.5632 GB, free: 2.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3232, allocations: 4 kB / 0.5632 GB, free: 2.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002138/0.3234, allocations: 101.6 kB / 0.5633 GB, free: 2.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3234, allocations: 4 kB / 0.5633 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.3234, allocations: 3.984 kB / 0.5633 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3235, allocations: 3.938 kB / 0.5633 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.3236, allocations: 16 kB / 0.5633 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3236, allocations: 3.984 kB / 0.5633 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.3236, allocations: 15.88 kB / 0.5633 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.3236, allocations: 4 kB / 0.5633 GB, free: 2.328 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.0001231/0.3237, allocations: 129.8 kB / 0.5634 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.3238, allocations: 11.95 kB / 0.5634 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.3241, allocations: 119.3 kB / 0.5636 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3241, allocations: 0 / 0.5636 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3241, allocations: 4 kB / 0.5636 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3241, allocations: 3.938 kB / 0.5636 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.3247, allocations: 386.3 kB / 0.5639 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3247, allocations: 0 / 0.5639 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.3248, allocations: 23.92 kB / 0.564 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3248, allocations: 7.938 kB / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3248, allocations: 0 / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3248, allocations: 0 / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3248, allocations: 4 kB / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3251, allocations: 204.7 kB / 0.5642 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.3251, allocations: 15.89 kB / 0.5642 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3251, allocations: 0 / 0.5642 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.3252, allocations: 7.984 kB / 0.5642 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.3252, allocations: 11.92 kB / 0.5642 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.3252, allocations: 7.984 kB / 0.5642 GB, free: 1.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.3254, allocations: 180.3 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3254, allocations: 0 / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3257, allocations: 27.94 kB / 0.5644 GB, free: 1.113 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.001698/0.3274, allocations: 457.5 kB / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3276, allocations: 63.84 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3276, allocations: 4 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.836e-05/0.3277, allocations: 35.95 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.328, allocations: 31.78 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.3286, allocations: 308.6 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.329, allocations: 0.7041 MB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.3291, allocations: 19.42 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3291, allocations: 0 / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Templates: time 0.003792/0.3328, allocations: 1.797 MB / 0.5677 GB, free: 13.83 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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: 7.733422193909064]