Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001333/0.001333, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00168/0.00168, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.62/1.62, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2435/0.2435, allocations: 46.94 MB / 361.7 MB, free: 4.254 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 0.497 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3851, allocations: 66.03 MB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003159/0.3883, allocations: 1.622 MB / 0.563 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3894, allocations: 0.5777 MB / 0.5636 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.3894, allocations: 3.938 kB / 0.5636 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.3897, allocations: 23.84 kB / 0.5636 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.3899, allocations: 75.62 kB / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3902, allocations: 119.2 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3904, allocations: 71.77 kB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.3905, allocations: 15.98 kB / 0.5639 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.3906, allocations: 27.86 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.3907, allocations: 31.84 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3907, allocations: 4 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.3909, allocations: 103.9 kB / 0.564 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.3909, allocations: 15.92 kB / 0.5641 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.391, allocations: 31.78 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3912, allocations: 131.5 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3912, allocations: 8 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3912, allocations: 0 / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3912, allocations: 3.938 kB / 0.5642 GB, free: 1.594 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.0004951/0.3917, allocations: 337.6 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3918, allocations: 15.97 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.114e-05/0.3918, allocations: 192 / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.3918, allocations: 38.75 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.3918, allocations: 8.891 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.392, allocations: 138.4 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.3921, allocations: 384 / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3921, allocations: 12.12 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3922, allocations: 63.39 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3922, allocations: 0 / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3923, allocations: 4 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3923, allocations: 0 / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.3924, allocations: 27.92 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.3928, allocations: 268 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3929, allocations: 42.56 kB / 0.5651 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.393, allocations: 28.88 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.393, allocations: 0 / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.393, allocations: 30.56 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.393, allocations: 0 / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006685/0.3937, allocations: 193.3 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.3938, allocations: 81.05 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3939, allocations: 157.5 kB / 0.5656 GB, free: 4 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.394, allocations: 25.7 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.394, allocations: 92.14 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3941, allocations: 27.78 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.3941, allocations: 29.72 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3943, allocations: 318.8 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.3943, allocations: 23.98 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3945, allocations: 45.69 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.3946, allocations: 72.81 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3946, allocations: 4.031 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000257/0.3949, allocations: 113.5 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3949, allocations: 6.5 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3949, allocations: 0 / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3949, allocations: 3.984 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.395, allocations: 16 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.395, allocations: 3.984 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.3951, allocations: 7.938 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.3951, allocations: 0 / 0.5664 GB, free: 15.19 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 9.871e-05/0.3952, allocations: 125.8 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.3952, allocations: 7.953 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.3955, allocations: 126.8 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3955, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3955, allocations: 7.984 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3955, allocations: 3.938 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.3961, allocations: 365.5 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3961, allocations: 0 / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.3961, allocations: 19.98 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3961, allocations: 3.938 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3961, allocations: 0 / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3961, allocations: 0 / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3961, allocations: 0 / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3964, allocations: 203.4 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.3964, allocations: 15.89 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3965, allocations: 0 / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.3965, allocations: 4 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.3966, allocations: 7.922 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.3966, allocations: 4 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3967, allocations: 119.2 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3967, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.397, allocations: 43.86 kB / 0.5674 GB, free: 14.07 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 (7): * Single equations (assignments): 7 * 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.002341/0.3993, allocations: 1.135 MB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3996, allocations: 71.94 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3996, allocations: 4 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.266e-05/0.3997, allocations: 31.92 kB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.4, allocations: 13.48 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.402, allocations: 1.534 MB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4023, allocations: 0.6963 MB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.4024, allocations: 21.11 kB / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.4025, allocations: 35.41 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4025, allocations: 0 / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.4261, allocations: 3.692 MB / 0.5744 GB, free: 6.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 18.67 kB / 0.5745 GB, free: 6.918 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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: 15.051259779022075]