Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001897/0.001897, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002299/0.002299, allocations: 210.8 kB / 23.73 MB, free: 4.387 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.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2408/0.2408, allocations: 44.93 MB / 358.8 MB, free: 6.152 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [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.002134/0.002134, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.335, allocations: 65.47 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003461/0.3385, allocations: 1.644 MB / 0.5591 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3398, allocations: 0.5349 MB / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.3398, allocations: 0 / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.3402, allocations: 87.75 kB / 0.5597 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.3406, allocations: 119.6 kB / 0.5598 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.3409, allocations: 95.69 kB / 0.5599 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.3411, allocations: 103.7 kB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3412, allocations: 15.64 kB / 0.56 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.732e-05/0.3413, allocations: 47.83 kB / 0.56 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.3415, allocations: 63.8 kB / 0.5601 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3415, allocations: 4 kB / 0.5601 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3416, allocations: 55.86 kB / 0.5602 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.3417, allocations: 23.92 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.3417, allocations: 35.73 kB / 0.5602 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.342, allocations: 130.2 kB / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.342, allocations: 0 / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.342, allocations: 0 / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.342, allocations: 0 / 0.5603 GB, free: 4.512 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006024/0.3426, allocations: 357.5 kB / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3426, allocations: 8.031 kB / 0.5607 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.3427, allocations: 24.78 kB / 0.5607 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3429, allocations: 154.2 kB / 0.5609 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3429, allocations: 4.375 kB / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.343, allocations: 12.38 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3432, allocations: 69.78 kB / 0.561 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.3432, allocations: 7.953 kB / 0.561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3432, allocations: 0 / 0.561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3432, allocations: 0 / 0.561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3434, allocations: 43.91 kB / 0.561 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.3438, allocations: 260.4 kB / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3439, allocations: 62.55 kB / 0.5613 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.344, allocations: 20.8 kB / 0.5613 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.344, allocations: 15.98 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.344, allocations: 30.56 kB / 0.5614 GB, free: 3.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.344, allocations: 0 / 0.5614 GB, free: 3.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001045/0.3451, allocations: 309.3 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3451, allocations: 59.28 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.3454, allocations: 243.5 kB / 0.562 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.3454, allocations: 29.7 kB / 0.562 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.3455, allocations: 116 kB / 0.5621 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.3456, allocations: 39.64 kB / 0.5621 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.3456, allocations: 29.72 kB / 0.5622 GB, free: 2.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3458, allocations: 326.8 kB / 0.5625 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3459, allocations: 35.97 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.346, allocations: 35.92 kB / 0.5625 GB, free: 2.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.3462, allocations: 92.81 kB / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3462, allocations: 0 / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002845/0.3465, allocations: 141.6 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3465, allocations: 4 kB / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3465, allocations: 0 / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3465, allocations: 0 / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3467, allocations: 31.92 kB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3467, allocations: 4.172 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.3467, allocations: 12 kB / 0.5628 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3467, allocations: 11.97 kB / 0.5628 GB, free: 1.793 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 (13): * Single equations (assignments): 13 * 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.0001287/0.3469, allocations: 126.4 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3469, allocations: 15.91 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.3473, allocations: 174.4 kB / 0.5631 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3473, allocations: 0 / 0.5631 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3473, allocations: 3.938 kB / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3473, allocations: 0 / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006441/0.348, allocations: 410.8 kB / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.348, allocations: 3.938 kB / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/0.3481, allocations: 27.98 kB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3481, allocations: 0 / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3481, allocations: 3.984 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3481, allocations: 4 kB / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3481, allocations: 3.938 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.3484, allocations: 240.3 kB / 0.5638 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.3484, allocations: 15.84 kB / 0.5638 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3485, allocations: 7.984 kB / 0.5638 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.3485, allocations: 4 kB / 0.5638 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3486, allocations: 7.984 kB / 0.5638 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3486, allocations: 8 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.3488, allocations: 185.1 kB / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3488, allocations: 0 / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00026/0.349, allocations: 23.94 kB / 0.564 GB, free: 492 kB / 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 (13): * Single equations (assignments): 13 * 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.00182/0.3508, allocations: 0.494 MB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.3511, allocations: 91.94 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3511, allocations: 4 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3512, allocations: 47.92 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3516, allocations: 30.89 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.3522, allocations: 311.6 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3523, allocations: 108.9 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.3524, allocations: 32.47 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.3524, allocations: 15.44 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3524, allocations: 0 / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Templates: time 0.00485/0.3573, allocations: 1.609 MB / 0.5667 GB, free: 13.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.287346361204982]