Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001481/0.001481, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001626/0.001626, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2346/0.2346, allocations: 46.95 MB / 360.9 MB, free: 4.129 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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 66.04 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003003/0.3166, allocations: 1.597 MB / 0.5622 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3177, allocations: 0.5271 MB / 0.5627 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.3178, allocations: 4 kB / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.318, allocations: 19.84 kB / 0.5627 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.3183, allocations: 75.64 kB / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.3186, allocations: 115.6 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3187, allocations: 63.84 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.3188, allocations: 17.75 kB / 0.563 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.3189, allocations: 27.86 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.3189, allocations: 23.86 kB / 0.563 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.319, allocations: 4 kB / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.319, allocations: 31.98 kB / 0.5631 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.3191, allocations: 15.92 kB / 0.5631 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.3191, allocations: 15.88 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.3193, allocations: 87.59 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3193, allocations: 3.984 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3193, allocations: 0 / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3193, allocations: 0 / 0.5632 GB, free: 1.562 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.0004689/0.3198, allocations: 313.8 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3198, allocations: 12.03 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.3199, allocations: 42.73 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.3199, allocations: 8.891 kB / 0.5635 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3201, allocations: 130.4 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3201, allocations: 384 / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3201, allocations: 4.375 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3202, allocations: 57.55 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3203, allocations: 0 / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3203, allocations: 4 kB / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3203, allocations: 0 / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.3204, allocations: 23.98 kB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.3207, allocations: 255.9 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.321, allocations: 42.5 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.321, allocations: 20.94 kB / 0.564 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.321, allocations: 0 / 0.564 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3211, allocations: 30.56 kB / 0.5641 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3211, allocations: 0 / 0.5641 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005715/0.3216, allocations: 161.3 kB / 0.5642 GB, free: 348 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3217, allocations: 55.34 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3218, allocations: 165.7 kB / 0.5644 GB, free: 108 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3219, allocations: 29.7 kB / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.3219, allocations: 100.1 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.322, allocations: 15.8 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.322, allocations: 17.72 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3221, allocations: 322.8 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.3222, allocations: 23.98 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.3223, allocations: 19.98 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3224, allocations: 64.94 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3224, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001985/0.3226, allocations: 85.56 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3226, allocations: 8 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3226, allocations: 0 / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3227, allocations: 7.984 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.3227, allocations: 8 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3227, allocations: 3.938 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.3228, allocations: 7.984 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3228, allocations: 4 kB / 0.5651 GB, free: 15.37 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 8.945e-05/0.3229, allocations: 113.8 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.3229, allocations: 8.234 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.3232, allocations: 102 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3232, allocations: 7.984 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3232, allocations: 3.938 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3232, allocations: 0 / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.3236, allocations: 321.7 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3236, allocations: 0 / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.3237, allocations: 19.92 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.3237, allocations: 3.938 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3237, allocations: 0 / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3237, allocations: 192 / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3237, allocations: 8 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.324, allocations: 183.5 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.324, allocations: 7.953 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.324, allocations: 3.938 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.3241, allocations: 7.984 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.3241, allocations: 0 / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3241, allocations: 4 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.3242, allocations: 123.2 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3242, allocations: 0 / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.3245, allocations: 23.94 kB / 0.566 GB, free: 14.35 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.002028/0.3265, allocations: 1.063 MB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3267, allocations: 43.97 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3267, allocations: 0 / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.3268, allocations: 27.92 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3271, allocations: 22.8 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3289, allocations: 1.488 MB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.361e-05/0.329, allocations: 81.75 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.329, allocations: 27.72 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.3291, allocations: 27.42 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3291, allocations: 0 / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.3571, allocations: 3.188 MB / 0.5719 GB, free: 8.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.32, allocations: 10.69 kB / 0.5719 GB, free: 8.48 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.298633031081408]