Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001806/0.001806, 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.002218/0.002218, 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.51/1.51, 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.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.2202/0.2202, allocations: 44.94 MB / 358.8 MB, free: 6.145 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",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.002088/0.002088, allocations: 71.89 kB / 0.4931 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003315/0.3331, allocations: 1.668 MB / 0.5586 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3343, allocations: 0.5544 MB / 0.5592 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.3344, allocations: 0 / 0.5592 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.3347, allocations: 63.72 kB / 0.5592 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.335, allocations: 91.61 kB / 0.5593 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.3355, allocations: 191.4 kB / 0.5595 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3357, allocations: 95.67 kB / 0.5596 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3358, allocations: 18.05 kB / 0.5596 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.3359, allocations: 35.84 kB / 0.5596 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.336, allocations: 51.77 kB / 0.5597 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.336, allocations: 4 kB / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.3361, allocations: 59.89 kB / 0.5597 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.3362, allocations: 23.92 kB / 0.5598 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.3363, allocations: 23.81 kB / 0.5598 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3365, allocations: 131.4 kB / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3365, allocations: 0 / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3365, allocations: 0 / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3365, allocations: 0 / 0.5599 GB, free: 4.508 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006091/0.3371, allocations: 357.5 kB / 0.5603 GB, free: 4.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3372, allocations: 12.03 kB / 0.5603 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.3372, allocations: 38.73 kB / 0.5603 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.3373, allocations: 8.891 kB / 0.5603 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3375, allocations: 151 kB / 0.5605 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3375, allocations: 4.375 kB / 0.5605 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3375, allocations: 8.375 kB / 0.5605 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.3377, allocations: 69.55 kB / 0.5605 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3377, allocations: 3.984 kB / 0.5605 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3378, allocations: 0 / 0.5605 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3378, allocations: 0 / 0.5605 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3379, allocations: 47.95 kB / 0.5606 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.3384, allocations: 295.8 kB / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3387, allocations: 58.55 kB / 0.5609 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.3388, allocations: 24.97 kB / 0.5609 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3388, allocations: 0 / 0.5609 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3388, allocations: 34.56 kB / 0.561 GB, free: 3.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3388, allocations: 3.938 kB / 0.561 GB, free: 3.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001595/0.3404, allocations: 437.3 kB / 0.5614 GB, free: 2.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.3405, allocations: 55.41 kB / 0.5615 GB, free: 2.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3407, allocations: 198.3 kB / 0.5616 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3407, allocations: 25.7 kB / 0.5617 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.3408, allocations: 108.1 kB / 0.5618 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.3409, allocations: 39.69 kB / 0.5618 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.3409, allocations: 33.64 kB / 0.5618 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3411, allocations: 322.8 kB / 0.5621 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3413, allocations: 47.97 kB / 0.5622 GB, free: 1.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3414, allocations: 59.95 kB / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.3417, allocations: 124.7 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3417, allocations: 0 / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003766/0.3421, allocations: 169.5 kB / 0.5625 GB, free: 1.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3421, allocations: 10.97 kB / 0.5625 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3421, allocations: 4 kB / 0.5625 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3421, allocations: 3.938 kB / 0.5626 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3422, allocations: 31.97 kB / 0.5626 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3422, allocations: 0 / 0.5626 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.3423, allocations: 8 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3423, allocations: 0 / 0.5626 GB, free: 1.578 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 (11): * Single equations (assignments): 11 * 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.0001292/0.3425, allocations: 129.8 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.3425, allocations: 19.91 kB / 0.5627 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/0.343, allocations: 203.2 kB / 0.5629 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.343, allocations: 3.938 kB / 0.5629 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.343, allocations: 0 / 0.5629 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.343, allocations: 0 / 0.5629 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.3438, allocations: 471.1 kB / 0.5634 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3438, allocations: 0 / 0.5634 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3439, allocations: 31.97 kB / 0.5634 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3439, allocations: 0 / 0.5634 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3439, allocations: 4 kB / 0.5634 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3439, allocations: 4 kB / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3439, allocations: 0 / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.3444, allocations: 281 kB / 0.5637 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.3444, allocations: 19.89 kB / 0.5637 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.3445, allocations: 192 / 0.5637 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3446, allocations: 19.98 kB / 0.5637 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.3446, allocations: 7.984 kB / 0.5637 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3446, allocations: 4 kB / 0.5637 GB, free: 308 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.3448, allocations: 156.2 kB / 0.5639 GB, free: 152 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3448, allocations: 96 / 0.5639 GB, free: 152 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.3451, allocations: 27.94 kB / 0.5639 GB, free: 124 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002727/0.3478, allocations: 1.197 MB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.3482, allocations: 127.8 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3482, allocations: 3.938 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3484, allocations: 63.89 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.3489, allocations: 22.03 kB / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.3517, allocations: 1.935 MB / 0.5672 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.3519, allocations: 108.6 kB / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.352, allocations: 32.45 kB / 0.5673 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.352, allocations: 39.42 kB / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3521, allocations: 0 / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.3843, allocations: 4.11 MB / 0.5714 GB, free: 8.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 9.594 kB / 0.5714 GB, free: 8.609 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.726280162110925]