Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001708/0.001708, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2344/0.2344, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 59.91 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003122/0.3281, allocations: 1.646 MB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3292, allocations: 0.5427 MB / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.3293, allocations: 4 kB / 0.5628 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.3295, allocations: 99.67 kB / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3298, allocations: 119.5 kB / 0.563 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.3302, allocations: 123.2 kB / 0.5631 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3304, allocations: 103.7 kB / 0.5632 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3305, allocations: 17.81 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.3306, allocations: 43.84 kB / 0.5632 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3307, allocations: 63.8 kB / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3307, allocations: 4 kB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.906e-05/0.3308, allocations: 51.97 kB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.3308, allocations: 27.86 kB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.3309, allocations: 31.73 kB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3311, allocations: 135.4 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3311, allocations: 0 / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3311, allocations: 4 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3311, allocations: 0 / 0.5635 GB, free: 1.211 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004915/0.3316, allocations: 365.4 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3317, allocations: 12.03 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.3317, allocations: 38.69 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.3317, allocations: 20.83 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3319, allocations: 150.3 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3319, allocations: 4.375 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.332, allocations: 8.359 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3321, allocations: 73.61 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3322, allocations: 7.953 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3322, allocations: 4 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3322, allocations: 4 kB / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3323, allocations: 47.94 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.3328, allocations: 299.8 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3329, allocations: 62.55 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.333, allocations: 28.89 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.333, allocations: 3.938 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.333, allocations: 38.56 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.333, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001078/0.3341, allocations: 337.2 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3341, allocations: 51.41 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3344, allocations: 243.6 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3344, allocations: 25.7 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.3345, allocations: 116.1 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.3345, allocations: 43.58 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.3346, allocations: 29.72 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3347, allocations: 322.8 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3348, allocations: 43.97 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3349, allocations: 47.91 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3352, allocations: 124.2 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3352, allocations: 3.938 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002923/0.3355, allocations: 157.5 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3355, allocations: 4 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3355, allocations: 3.938 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3355, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3356, allocations: 31.92 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3356, allocations: 0 / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.3357, allocations: 11.98 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3357, allocations: 0 / 0.5662 GB, free: 14.3 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 (13): * Single equations (assignments): 13 * 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.0001173/0.3358, allocations: 138.4 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.3358, allocations: 15.91 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.3362, allocations: 187.6 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3362, allocations: 4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3362, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3362, allocations: 3.984 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.3369, allocations: 458.3 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3369, allocations: 0 / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.337, allocations: 27.98 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.337, allocations: 3.938 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.337, allocations: 4 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.337, allocations: 4 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.337, allocations: 0 / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.3374, allocations: 268.2 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.3374, allocations: 15.91 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3374, allocations: 0 / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.3375, allocations: 8 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.3375, allocations: 11.97 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3376, allocations: 4 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.3377, allocations: 185.1 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3377, allocations: 0 / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.338, allocations: 27.92 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002326/0.3403, allocations: 1.182 MB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.3406, allocations: 111.9 kB / 0.5687 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3406, allocations: 4 kB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3407, allocations: 55.91 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3411, allocations: 26.67 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3434, allocations: 1.912 MB / 0.5707 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.3435, allocations: 121.5 kB / 0.5708 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.256e-05/0.3436, allocations: 24.47 kB / 0.5708 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.3437, allocations: 51.41 kB / 0.5709 GB, free: 9.48 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3437, allocations: 0 / 0.5709 GB, free: 9.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3731, allocations: 4.15 MB / 0.5749 GB, free: 5.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.43, allocations: 22.56 kB / 0.575 GB, free: 5.355 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.463560761883855]