Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001531/0.001531, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001548/0.001548, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.47/1.47, allocations: 230.6 MB / 258.2 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.2501/0.2501, allocations: 46.97 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 59.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003953/0.3817, allocations: 1.604 MB / 0.5634 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.384, allocations: 1.232 MB / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.3841, allocations: 0 / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3843, allocations: 23.84 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3847, allocations: 83.62 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.385, allocations: 99.02 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.3852, allocations: 75.77 kB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.3852, allocations: 7.984 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.3853, allocations: 27.86 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.3855, allocations: 27.86 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3855, allocations: 4 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.3857, allocations: 95.88 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.3857, allocations: 15.97 kB / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.3858, allocations: 15.88 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.386, allocations: 145.9 kB / 0.5652 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.386, allocations: 8 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.386, allocations: 0 / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.386, allocations: 0 / 0.5652 GB, free: 0.7305 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.0005601/0.3866, allocations: 321.7 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3866, allocations: 8.031 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.3867, allocations: 8.891 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.3869, allocations: 146.3 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3869, allocations: 384 / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3869, allocations: 384 / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3871, allocations: 97.22 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3871, allocations: 4 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3871, allocations: 0 / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3871, allocations: 0 / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.3872, allocations: 23.92 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3876, allocations: 224.5 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3878, allocations: 38.56 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.3878, allocations: 16.94 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3879, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3879, allocations: 38.5 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3879, allocations: 4 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006254/0.3885, allocations: 133.5 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.3886, allocations: 85.05 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.3889, allocations: 152.4 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3889, allocations: 25.7 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.389, allocations: 92.14 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.389, allocations: 23.78 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.389, allocations: 17.72 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3892, allocations: 326.8 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.3893, allocations: 19.98 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.3893, allocations: 55.41 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3895, allocations: 53.02 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3895, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001909/0.3897, allocations: 81.56 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3897, allocations: 8.031 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3897, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3897, allocations: 288 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.3898, allocations: 15.98 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3898, allocations: 0 / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.3898, allocations: 4 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3898, allocations: 0 / 0.5671 GB, free: 14.55 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.0001021/0.3899, allocations: 121.8 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.39, allocations: 15.88 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.3902, allocations: 98 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3902, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3902, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3903, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.3907, allocations: 294.1 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3907, allocations: 0 / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.3907, allocations: 12 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3907, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3907, allocations: 7.984 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3907, allocations: 4.125 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3907, allocations: 4 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.391, allocations: 179.4 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.391, allocations: 7.953 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.391, allocations: 3.984 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.3911, allocations: 4 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.3911, allocations: 11.92 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3911, allocations: 0 / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.811e-05/0.3912, allocations: 115.3 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3912, allocations: 0 / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3915, allocations: 39.86 kB / 0.568 GB, free: 13.57 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.001862/0.3934, allocations: 0.5274 MB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.3936, allocations: 47.91 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3936, allocations: 0 / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.3937, allocations: 19.98 kB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.394, allocations: 21.48 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.3945, allocations: 165.6 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.446e-05/0.3946, allocations: 86.95 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.3946, allocations: 11.77 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3947, allocations: 19.42 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3947, allocations: 0 / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of Templates: time 0.004763/0.3994, allocations: 1.828 MB / 0.5707 GB, free: 11.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.172663595003542]