Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001805/0.001805, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002509/0.002509, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2197/0.2197, allocations: 46.93 MB / 360.9 MB, free: 4.273 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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 66.04 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003367/0.3342, allocations: 1.612 MB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3353, allocations: 0.5464 MB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.3354, allocations: 4 kB / 0.5628 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.3356, allocations: 31.84 kB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.3359, allocations: 75.62 kB / 0.5629 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.3361, allocations: 87.75 kB / 0.563 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.3363, allocations: 67.78 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3364, allocations: 13.81 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.3365, allocations: 19.92 kB / 0.5631 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.3365, allocations: 27.8 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3365, allocations: 0 / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.799e-05/0.3366, allocations: 39.98 kB / 0.5631 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.3367, allocations: 15.92 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.3367, allocations: 27.8 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.3369, allocations: 75.67 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3369, allocations: 0 / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3369, allocations: 0 / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3369, allocations: 0 / 0.5632 GB, free: 1.812 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.0004903/0.3374, allocations: 325.7 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3374, allocations: 8.031 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.3375, allocations: 38.73 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.3375, allocations: 8.891 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.3377, allocations: 134.4 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-06/0.3377, allocations: 384 / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3377, allocations: 8.359 kB / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3379, allocations: 49.62 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3379, allocations: 3.984 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.3379, allocations: 0 / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3379, allocations: 4 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.338, allocations: 27.92 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.3384, allocations: 247.9 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3386, allocations: 38.56 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.3386, allocations: 16.94 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3387, allocations: 0 / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3387, allocations: 42.5 kB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3387, allocations: 0 / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005592/0.3392, allocations: 137.4 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.3393, allocations: 55.34 kB / 0.5643 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3395, allocations: 168.2 kB / 0.5645 GB, free: 376 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3395, allocations: 29.7 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.3395, allocations: 100.1 kB / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3396, allocations: 23.73 kB / 0.5646 GB, free: 212 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.3396, allocations: 13.72 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3398, allocations: 322.8 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.3398, allocations: 15.98 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.788e-05/0.3399, allocations: 23.92 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.34, allocations: 53.02 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.34, allocations: 0 / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.3402, allocations: 85.56 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3402, allocations: 4 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3402, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3402, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.3403, allocations: 15.98 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3403, allocations: 3.938 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.3404, allocations: 11.98 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3404, allocations: 0 / 0.5652 GB, free: 15.64 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.002e-05/0.3405, allocations: 117.8 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3405, allocations: 7.953 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.3407, allocations: 90 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3407, allocations: 7.984 kB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.3407, allocations: 3.938 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3407, allocations: 4 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.3412, allocations: 313.6 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3412, allocations: 0 / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.3412, allocations: 15.98 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3412, allocations: 3.938 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3412, allocations: 0 / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3412, allocations: 0 / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3412, allocations: 192 / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.3415, allocations: 187.4 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.3415, allocations: 7.953 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3415, allocations: 3.938 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.3416, allocations: 4 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.3416, allocations: 12.27 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3416, allocations: 0 / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3417, allocations: 127.2 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3417, allocations: 0 / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.342, allocations: 15.95 kB / 0.5661 GB, free: 14.65 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.001931/0.3439, allocations: 1.025 MB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3441, allocations: 47.97 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3441, allocations: 0 / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.3442, allocations: 27.92 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3445, allocations: 15.92 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3462, allocations: 1.469 MB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3466, allocations: 0.6963 MB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.3466, allocations: 11.84 kB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.3467, allocations: 27.42 kB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3467, allocations: 0 / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.3754, allocations: 2.754 MB / 0.572 GB, free: 8.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 14.34 kB / 0.572 GB, free: 8.652 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.457786495098844]