Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001392/0.001392, allocations: 112.5 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.559/1.559, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2467/0.2467, allocations: 44.92 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 61.47 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 65.47 MB / 0.5578 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00409/0.3425, allocations: 1.682 MB / 0.5594 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.3449, allocations: 1.306 MB / 0.5607 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.345, allocations: 0 / 0.5607 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.3452, allocations: 23.86 kB / 0.5607 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.3456, allocations: 87.61 kB / 0.5608 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.3461, allocations: 183.2 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.3463, allocations: 71.77 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3464, allocations: 25.81 kB / 0.5611 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.3465, allocations: 31.8 kB / 0.5611 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.3467, allocations: 39.83 kB / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3467, allocations: 4 kB / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.3469, allocations: 103.8 kB / 0.5613 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.347, allocations: 23.92 kB / 0.5613 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.347, allocations: 35.78 kB / 0.5613 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.3474, allocations: 151.5 kB / 0.5615 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3474, allocations: 0 / 0.5615 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3474, allocations: 0 / 0.5615 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3474, allocations: 0 / 0.5615 GB, free: 4.004 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.0006393/0.348, allocations: 361.5 kB / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3481, allocations: 12.03 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.05e-05/0.3481, allocations: 192 / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.3481, allocations: 34.75 kB / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.3482, allocations: 8.891 kB / 0.5619 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.3484, allocations: 138.4 kB / 0.562 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3484, allocations: 4.375 kB / 0.562 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.3484, allocations: 8.125 kB / 0.562 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.3486, allocations: 79.38 kB / 0.5621 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3486, allocations: 0 / 0.5621 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3487, allocations: 0 / 0.5621 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3487, allocations: 3.938 kB / 0.5621 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.3488, allocations: 39.97 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.3493, allocations: 291.8 kB / 0.5624 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3495, allocations: 42.55 kB / 0.5624 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.3496, allocations: 28.88 kB / 0.5625 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3496, allocations: 4 kB / 0.5625 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3496, allocations: 30.56 kB / 0.5625 GB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3496, allocations: 8 kB / 0.5625 GB, free: 2.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008873/0.3505, allocations: 229.3 kB / 0.5627 GB, free: 2.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.3506, allocations: 77.11 kB / 0.5628 GB, free: 2.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3508, allocations: 163.1 kB / 0.563 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3508, allocations: 25.7 kB / 0.563 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.3509, allocations: 100.1 kB / 0.5631 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.3509, allocations: 31.78 kB / 0.5631 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.3509, allocations: 21.72 kB / 0.5631 GB, free: 2.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3511, allocations: 318.8 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3512, allocations: 35.97 kB / 0.5635 GB, free: 1.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3513, allocations: 61.73 kB / 0.5635 GB, free: 1.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.3516, allocations: 85.03 kB / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3516, allocations: 3.938 kB / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003193/0.3519, allocations: 133.5 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3519, allocations: 8 kB / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3519, allocations: 0 / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.352, allocations: 0 / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3521, allocations: 23.92 kB / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3521, allocations: 3.938 kB / 0.5638 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.3522, allocations: 11.98 kB / 0.5638 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3522, allocations: 8 kB / 0.5638 GB, free: 1.406 MB / 398.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 (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 prepare postOptimizeDAE: time 0.000108/0.3523, allocations: 121.8 kB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.3524, allocations: 12.19 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.3528, allocations: 138.3 kB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3528, allocations: 7.984 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3528, allocations: 3.938 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3528, allocations: 0 / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.3534, allocations: 389.5 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3534, allocations: 0 / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.3535, allocations: 23.97 kB / 0.5645 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3535, allocations: 3.938 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3535, allocations: 0 / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3535, allocations: 4 kB / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3535, allocations: 0 / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.3539, allocations: 223.4 kB / 0.5647 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.3539, allocations: 15.94 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.3539, allocations: 3.938 kB / 0.5647 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3541, allocations: 11.98 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.3541, allocations: 4 kB / 0.5647 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.3541, allocations: 11.94 kB / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3542, allocations: 118.3 kB / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3542, allocations: 0 / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.3546, allocations: 47.8 kB / 0.5649 GB, free: 208 kB / 398.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.002455/0.357, allocations: 1.147 MB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3573, allocations: 87.86 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3573, allocations: 0 / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3575, allocations: 43.97 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.3579, allocations: 26.98 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3603, allocations: 1.655 MB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.3607, allocations: 0.7006 MB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.3608, allocations: 28.7 kB / 0.5685 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.3608, allocations: 31.42 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3608, allocations: 0 / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.3863, allocations: 3.817 MB / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.61, allocations: 0 / 0.5722 GB, free: 8.766 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.890332226001192]