Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001931/0.001931, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.002297/0.002297, allocations: 206 kB / 23.72 MB, free: 4.414 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2393/0.2393, allocations: 46.95 MB / 360.9 MB, free: 4.059 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.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002943/0.3492, allocations: 1.612 MB / 0.5627 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3502, allocations: 0.5232 MB / 0.5632 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.3503, allocations: 11.88 kB / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.3505, allocations: 91.73 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.3508, allocations: 115.6 kB / 0.5634 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.3511, allocations: 115.5 kB / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3513, allocations: 91.73 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3514, allocations: 11.66 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.3515, allocations: 51.77 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3516, allocations: 55.81 kB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3516, allocations: 4 kB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.3517, allocations: 43.97 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.3517, allocations: 19.92 kB / 0.5638 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.3518, allocations: 27.81 kB / 0.5638 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.352, allocations: 110.2 kB / 0.5639 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.352, allocations: 4 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.352, allocations: 0 / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.352, allocations: 4 kB / 0.5639 GB, free: 1.301 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.0005127/0.3525, allocations: 349.5 kB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3526, allocations: 12.03 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.3526, allocations: 16.83 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.3528, allocations: 138.9 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3528, allocations: 4.375 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3528, allocations: 4.328 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.353, allocations: 65.78 kB / 0.5645 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.353, allocations: 4 kB / 0.5645 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.353, allocations: 3.938 kB / 0.5645 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.353, allocations: 0 / 0.5645 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3531, allocations: 31.91 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3535, allocations: 248.5 kB / 0.5647 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3536, allocations: 46.55 kB / 0.5648 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.3537, allocations: 20.8 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3537, allocations: 0 / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3537, allocations: 38.64 kB / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3537, allocations: 4 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009246/0.3547, allocations: 241.1 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.3547, allocations: 55.41 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3549, allocations: 226.8 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3549, allocations: 37.7 kB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.355, allocations: 104.1 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.355, allocations: 27.75 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.3551, allocations: 25.7 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3552, allocations: 326.8 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.3553, allocations: 27.98 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.3554, allocations: 35.91 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.3556, allocations: 72.83 kB / 0.566 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3556, allocations: 4 kB / 0.566 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002354/0.3558, allocations: 117.5 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3558, allocations: 10.66 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3558, allocations: 0 / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3559, allocations: 0 / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.356, allocations: 19.98 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.356, allocations: 4 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.356, allocations: 0 / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.356, allocations: 7.938 kB / 0.5661 GB, free: 14.84 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 (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.0001198/0.3561, allocations: 137.8 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3562, allocations: 11.95 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.3565, allocations: 143.2 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3565, allocations: 432 / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3565, allocations: 0 / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3565, allocations: 0 / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.357, allocations: 362.8 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.357, allocations: 4.031 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.023e-05/0.3571, allocations: 23.92 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3571, allocations: 3.984 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3571, allocations: 4 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.3571, allocations: 7.938 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3571, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.3574, allocations: 216.2 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.3574, allocations: 7.953 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3575, allocations: 4 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.3575, allocations: 7.938 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.3576, allocations: 11.98 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3576, allocations: 4 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3577, allocations: 180.2 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3577, allocations: 0 / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.358, allocations: 19.95 kB / 0.5672 GB, free: 13.63 MB / 414.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.001806/0.3598, allocations: 491.2 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.3601, allocations: 75.94 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3601, allocations: 0 / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3602, allocations: 43.91 kB / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3605, allocations: 26.73 kB / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.3611, allocations: 278.9 kB / 0.5681 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3612, allocations: 100.7 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.3613, allocations: 32.88 kB / 0.5682 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.3613, allocations: 11.44 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3613, allocations: 4 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Templates: time 0.004577/0.3659, allocations: 1.484 MB / 0.5697 GB, free: 11.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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: 5.2392434272915125]