Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001443/0.001443, 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.001681/0.001681, allocations: 210.5 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.501/1.501, 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.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.2331/0.2331, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 67.89 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3419, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003146/0.3451, allocations: 1.586 MB / 0.5626 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.347, allocations: 1.244 MB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.3471, allocations: 0 / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.3473, allocations: 23.8 kB / 0.5639 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.3476, allocations: 91.61 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.3479, allocations: 111.2 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3481, allocations: 63.84 kB / 0.5641 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3482, allocations: 15.97 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.55e-05/0.3482, allocations: 27.8 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3483, allocations: 35.84 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.3484, allocations: 4 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.3485, allocations: 83.95 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.3486, allocations: 19.91 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.3486, allocations: 23.81 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.3489, allocations: 137.9 kB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3489, allocations: 0 / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3489, allocations: 0 / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3489, allocations: 0 / 0.5645 GB, free: 0.7031 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005243/0.3494, allocations: 329.6 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3495, allocations: 12.03 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.3495, allocations: 12.89 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.3497, allocations: 138.4 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3497, allocations: 384 / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3498, allocations: 4.375 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.35, allocations: 89.23 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.35, allocations: 0 / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.35, allocations: 0 / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.35, allocations: 4 kB / 0.565 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.678e-05/0.3501, allocations: 23.97 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.3505, allocations: 236.4 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3507, allocations: 42.55 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.3507, allocations: 16.86 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3508, allocations: 8.016 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3508, allocations: 34.56 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3508, allocations: 0 / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005855/0.3514, allocations: 153.4 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3514, allocations: 77.11 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3516, allocations: 144.5 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3516, allocations: 25.7 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.3517, allocations: 96.12 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.3517, allocations: 23.8 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.3518, allocations: 17.72 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3519, allocations: 322.8 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.352, allocations: 23.92 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3521, allocations: 71.45 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3523, allocations: 52.83 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3523, allocations: 0 / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.3525, allocations: 85.56 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3525, allocations: 4 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3525, allocations: 0 / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3525, allocations: 4.266 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.3526, allocations: 15.94 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3526, allocations: 4.031 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.3526, allocations: 11.98 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3526, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.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 (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 0.0001129/0.3527, allocations: 117.8 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.3528, allocations: 11.94 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.353, allocations: 102 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.353, allocations: 0 / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.353, allocations: 0 / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.353, allocations: 4 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.3535, allocations: 306.1 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3535, allocations: 0 / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.3535, allocations: 16.3 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3535, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3536, allocations: 4 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3536, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3536, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3538, allocations: 191.3 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.3538, allocations: 7.953 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3539, allocations: 4 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.3539, allocations: 7.984 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.354, allocations: 3.938 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.354, allocations: 4 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.3541, allocations: 121.7 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3541, allocations: 0 / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.3544, allocations: 39.86 kB / 0.5674 GB, free: 13.46 MB / 414.1 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.001855/0.3562, allocations: 0.5156 MB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3564, allocations: 55.89 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3564, allocations: 0 / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.3565, allocations: 23.98 kB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3569, allocations: 20.61 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.3573, allocations: 173.5 kB / 0.5681 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.298e-05/0.3574, allocations: 91.02 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.3575, allocations: 19.75 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.3575, allocations: 19.42 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3575, allocations: 0 / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of Templates: time 0.005329/0.3628, allocations: 1.817 MB / 0.57 GB, free: 10.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.191241664811969]