Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001243/0.001243, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001431/0.001431, allocations: 209.4 kB / 23.73 MB, free: 4.523 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2305/0.2305, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3392, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003447/0.3427, allocations: 1.597 MB / 0.5622 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3438, allocations: 0.5193 MB / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.3439, allocations: 0 / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.3441, allocations: 35.77 kB / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.3444, allocations: 71.7 kB / 0.5628 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.3447, allocations: 119.4 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3449, allocations: 67.77 kB / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.345, allocations: 13.81 kB / 0.563 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.3451, allocations: 23.92 kB / 0.563 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.3451, allocations: 15.88 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3451, allocations: 4 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3452, allocations: 43.91 kB / 0.563 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.3453, allocations: 15.92 kB / 0.5631 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3454, allocations: 11.88 kB / 0.5631 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3455, allocations: 87.66 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3455, allocations: 0 / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3455, allocations: 0 / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3455, allocations: 0 / 0.5632 GB, free: 1.594 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.0005598/0.3461, allocations: 313.8 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.3462, allocations: 12.03 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.3462, allocations: 30.75 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.3463, allocations: 8.891 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.3465, allocations: 134.3 kB / 0.5636 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3465, allocations: 4.375 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3465, allocations: 4.375 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3467, allocations: 57.62 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3467, allocations: 0 / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3467, allocations: 0 / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3467, allocations: 0 / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3468, allocations: 27.97 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3472, allocations: 251.9 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3474, allocations: 42.55 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.3475, allocations: 20.86 kB / 0.564 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3475, allocations: 4.078 kB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.3476, allocations: 30.56 kB / 0.5641 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.527e-06/0.3476, allocations: 3.984 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006369/0.3482, allocations: 157.4 kB / 0.5642 GB, free: 384 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.3483, allocations: 51.41 kB / 0.5643 GB, free: 320 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3485, allocations: 156.5 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3485, allocations: 25.7 kB / 0.5644 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3486, allocations: 104.1 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.3486, allocations: 11.86 kB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3487, allocations: 21.78 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3489, allocations: 322.8 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.349, allocations: 27.86 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.349, allocations: 23.97 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3492, allocations: 52.83 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3492, allocations: 0 / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001903/0.3494, allocations: 85.62 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3494, allocations: 7.984 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3494, allocations: 4 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3494, allocations: 0 / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.3495, allocations: 8 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3495, allocations: 7.922 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.3495, allocations: 7.984 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3495, allocations: 7.938 kB / 0.5651 GB, free: 15.41 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 0.0001186/0.3496, allocations: 117.8 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3497, allocations: 7.953 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.3499, allocations: 94.36 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.35, allocations: 8 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.35, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.35, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.3504, allocations: 325.5 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3504, allocations: 0 / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.3505, allocations: 19.98 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3505, allocations: 0 / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3505, allocations: 0 / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3505, allocations: 3.938 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3505, allocations: 0 / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3508, allocations: 187.4 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.3508, allocations: 7.953 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.3508, allocations: 0 / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.3509, allocations: 11.92 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.3509, allocations: 8 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3509, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3511, allocations: 119.2 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3511, allocations: 0 / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.3513, allocations: 15.94 kB / 0.566 GB, free: 14.41 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.002074/0.3534, allocations: 1.047 MB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3536, allocations: 59.95 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3536, allocations: 0 / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.3537, allocations: 23.98 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3541, allocations: 17.55 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.356, allocations: 1.468 MB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3561, allocations: 83.27 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.3562, allocations: 19.83 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.3562, allocations: 27.36 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3562, allocations: 0 / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3843, allocations: 3.165 MB / 0.5718 GB, free: 8.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.23, allocations: 7.938 kB / 0.5718 GB, free: 8.598 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.185952580010053]