Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001347/0.001347, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001454/0.001454, allocations: 206.7 kB / 23.73 MB, free: 4.398 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2351/0.2351, 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003181/0.3245, allocations: 1.585 MB / 0.5622 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3264, allocations: 1.244 MB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.3265, allocations: 4 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3267, allocations: 31.83 kB / 0.5634 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.327, allocations: 79.64 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.3273, allocations: 111 kB / 0.5636 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.3275, allocations: 75.77 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.3276, allocations: 9.812 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.3276, allocations: 27.92 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3277, allocations: 31.84 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3278, allocations: 4 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.3279, allocations: 95.88 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.328, allocations: 15.92 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.328, allocations: 15.88 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.3283, allocations: 135.5 kB / 0.564 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3283, allocations: 7.984 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3283, allocations: 4 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3283, allocations: 0 / 0.564 GB, free: 0.7422 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.0005203/0.3288, allocations: 321.7 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3288, allocations: 12.03 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.3289, allocations: 38.69 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.3289, allocations: 12.83 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3291, allocations: 138.4 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.3291, allocations: 384 / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.3292, allocations: 4.375 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3293, allocations: 93.03 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3293, allocations: 0 / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3293, allocations: 0 / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3294, allocations: 7.984 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.3295, allocations: 27.92 kB / 0.5646 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.3299, allocations: 248 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3301, allocations: 46.56 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.3301, allocations: 12.94 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.3301, allocations: 0 / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3302, allocations: 38.5 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3302, allocations: 0 / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006007/0.3308, allocations: 157.5 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3308, allocations: 85.05 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.331, allocations: 145.8 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.331, allocations: 29.7 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.3311, allocations: 96.02 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3311, allocations: 19.84 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.3312, allocations: 17.72 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3313, allocations: 318.8 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.3314, allocations: 23.97 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/0.3315, allocations: 67.41 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.3316, allocations: 48.83 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3316, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.3318, allocations: 93.55 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3319, allocations: 4 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3319, allocations: 0 / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3319, allocations: 0 / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.3319, allocations: 20.02 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3319, allocations: 0 / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.332, allocations: 7.938 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.332, allocations: 0 / 0.566 GB, free: 14.43 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 9.565e-05/0.3321, allocations: 117.8 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.3321, allocations: 7.953 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.3324, allocations: 98 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3324, allocations: 0 / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3324, allocations: 7.984 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3324, allocations: 3.938 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.3329, allocations: 318 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3329, allocations: 8 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.333, allocations: 11.98 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.333, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.333, allocations: 7.938 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.333, allocations: 3.938 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.333, allocations: 0 / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3332, allocations: 187.5 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.3333, allocations: 7.953 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3333, allocations: 3.938 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.3334, allocations: 7.984 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.3334, allocations: 0 / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3334, allocations: 4 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3335, allocations: 117.8 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3335, allocations: 0 / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3338, allocations: 43.86 kB / 0.5669 GB, free: 13.4 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.002344/0.3361, allocations: 1.15 MB / 0.5681 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.3364, allocations: 51.89 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3364, allocations: 3.938 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.321e-05/0.3364, allocations: 27.92 kB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3368, allocations: 21.48 kB / 0.5682 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3386, allocations: 1.446 MB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.028e-05/0.3387, allocations: 79.08 kB / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.205e-05/0.3388, allocations: 27.97 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.3388, allocations: 27.42 kB / 0.5697 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3388, allocations: 0 / 0.5697 GB, free: 10.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.3707, allocations: 3.841 MB / 0.5735 GB, free: 6.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.41, allocations: 18.44 kB / 0.5735 GB, free: 6.844 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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: 14.461640497203916]