Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001332/0.001332, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00148/0.00148, allocations: 207 kB / 23.73 MB, free: 4.379 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2285/0.2285, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 67.89 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3728, allocations: 66.03 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003597/0.3764, allocations: 1.604 MB / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.3789, allocations: 1.236 MB / 0.5639 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.379, allocations: 3.938 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.3793, allocations: 27.84 kB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.3797, allocations: 87.62 kB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.3801, allocations: 107.1 kB / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3803, allocations: 75.81 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3804, allocations: 4 kB / 0.5642 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.035e-05/0.3805, allocations: 35.8 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3806, allocations: 31.83 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3807, allocations: 4 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.3808, allocations: 95.94 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.3809, allocations: 19.88 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.381, allocations: 19.86 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.3813, allocations: 141.9 kB / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3813, allocations: 0 / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3813, allocations: 0 / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3813, allocations: 0 / 0.5645 GB, free: 0.6758 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.0006333/0.3819, allocations: 325.7 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.382, allocations: 8.031 kB / 0.5648 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.3821, allocations: 12.88 kB / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3823, allocations: 134.4 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3823, allocations: 8.375 kB / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3823, allocations: 384 / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3826, allocations: 97.22 kB / 0.565 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.3826, allocations: 4 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3826, allocations: 0 / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3826, allocations: 0 / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3827, allocations: 19.98 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.3832, allocations: 236.4 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.3834, allocations: 42.56 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.3835, allocations: 20.94 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3835, allocations: 0 / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3836, allocations: 34.56 kB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3836, allocations: 0 / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000685/0.3842, allocations: 153.4 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.3843, allocations: 77.11 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.3845, allocations: 148.3 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3846, allocations: 33.7 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.3846, allocations: 88.14 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.3847, allocations: 31.72 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.3847, allocations: 17.66 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3849, allocations: 322.8 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.3849, allocations: 23.97 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.385, allocations: 63.41 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3852, allocations: 48.86 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3852, allocations: 0 / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002123/0.3854, allocations: 89.61 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3854, allocations: 7.938 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3854, allocations: 0 / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3854, allocations: 0 / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.3855, allocations: 19.92 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3855, allocations: 0 / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.3856, allocations: 4 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3856, allocations: 8.25 kB / 0.5665 GB, free: 14.44 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.0001081/0.3857, allocations: 121.8 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.3857, allocations: 7.953 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.386, allocations: 98.06 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.386, allocations: 0 / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.386, allocations: 4.266 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.386, allocations: 0 / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.3865, allocations: 298.1 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3865, allocations: 4 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.3866, allocations: 15.98 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3866, allocations: 0 / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3866, allocations: 7.984 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3866, allocations: 0 / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3866, allocations: 0 / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.3869, allocations: 187.3 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.3869, allocations: 7.953 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3869, allocations: 0 / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.387, allocations: 12 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.387, allocations: 11.92 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.387, allocations: 0 / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3872, allocations: 117.8 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3872, allocations: 0 / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.3875, allocations: 35.88 kB / 0.5674 GB, free: 13.45 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.00195/0.3894, allocations: 0.5297 MB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3897, allocations: 51.91 kB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3897, allocations: 8 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.3898, allocations: 27.97 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3901, allocations: 11.98 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.3906, allocations: 165.6 kB / 0.5681 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.653e-05/0.3907, allocations: 84.64 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.343e-05/0.3908, allocations: 23.75 kB / 0.5682 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.3908, allocations: 23.42 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3908, allocations: 3.938 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.005464/0.3963, allocations: 1.843 MB / 0.5701 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.188435425981879]