Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001298/0.001298, allocations: 113.2 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.00158/0.00158, allocations: 214.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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2273/0.2273, allocations: 44.9 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",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.002242/0.002242, allocations: 63.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3871, allocations: 65.47 MB / 0.557 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00335/0.3904, allocations: 1.617 MB / 0.5586 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3916, allocations: 0.5583 MB / 0.5592 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.3916, allocations: 0 / 0.5592 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3919, allocations: 23.8 kB / 0.5592 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.3921, allocations: 79.67 kB / 0.5593 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.3925, allocations: 107.7 kB / 0.5594 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3927, allocations: 67.83 kB / 0.5594 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3928, allocations: 17.7 kB / 0.5594 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.3929, allocations: 23.92 kB / 0.5595 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.393, allocations: 27.84 kB / 0.5595 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.393, allocations: 4 kB / 0.5595 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.3931, allocations: 35.92 kB / 0.5595 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.3931, allocations: 11.94 kB / 0.5595 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.3932, allocations: 23.81 kB / 0.5596 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.3934, allocations: 87.64 kB / 0.5596 GB, free: 4.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3934, allocations: 0 / 0.5596 GB, free: 4.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3934, allocations: 0 / 0.5596 GB, free: 4.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3934, allocations: 0 / 0.5596 GB, free: 4.941 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.0005479/0.3939, allocations: 324.5 kB / 0.56 GB, free: 4.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.394, allocations: 8.031 kB / 0.56 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.394, allocations: 38.69 kB / 0.56 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3941, allocations: 8.891 kB / 0.56 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.3943, allocations: 138.4 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3943, allocations: 4.375 kB / 0.5601 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.3943, allocations: 4.375 kB / 0.5602 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3945, allocations: 45.62 kB / 0.5602 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3945, allocations: 0 / 0.5602 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3945, allocations: 8 kB / 0.5602 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3945, allocations: 4 kB / 0.5602 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.3946, allocations: 23.97 kB / 0.5602 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.395, allocations: 255.9 kB / 0.5605 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.3953, allocations: 46.55 kB / 0.5605 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.3953, allocations: 20.94 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3954, allocations: 0 / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3954, allocations: 34.56 kB / 0.5606 GB, free: 3.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3954, allocations: 0 / 0.5606 GB, free: 3.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006769/0.3961, allocations: 153.3 kB / 0.5607 GB, free: 3.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.3961, allocations: 51.41 kB / 0.5608 GB, free: 3.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3963, allocations: 171.2 kB / 0.5609 GB, free: 3.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3963, allocations: 25.7 kB / 0.561 GB, free: 3.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.3964, allocations: 100.1 kB / 0.561 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.3964, allocations: 19.73 kB / 0.5611 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3965, allocations: 21.7 kB / 0.5611 GB, free: 3.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3966, allocations: 318.8 kB / 0.5614 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.3967, allocations: 19.98 kB / 0.5614 GB, free: 2.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.3968, allocations: 31.91 kB / 0.5614 GB, free: 2.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.3969, allocations: 52.83 kB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3969, allocations: 0 / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002168/0.3971, allocations: 85.61 kB / 0.5616 GB, free: 2.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3971, allocations: 11.94 kB / 0.5616 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3971, allocations: 0 / 0.5616 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3971, allocations: 0 / 0.5616 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.3972, allocations: 15.94 kB / 0.5616 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3972, allocations: 7.922 kB / 0.5616 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.3973, allocations: 4.25 kB / 0.5616 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3973, allocations: 4 kB / 0.5616 GB, free: 2.734 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 (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.0001031/0.3974, allocations: 113.8 kB / 0.5617 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.3974, allocations: 15.94 kB / 0.5617 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.3977, allocations: 102 kB / 0.5618 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3977, allocations: 0 / 0.5618 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3977, allocations: 3.938 kB / 0.5618 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3977, allocations: 0 / 0.5618 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.3981, allocations: 329.6 kB / 0.5622 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3981, allocations: 0 / 0.5622 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.3982, allocations: 11.98 kB / 0.5622 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3982, allocations: 7.938 kB / 0.5622 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3982, allocations: 4 kB / 0.5622 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3982, allocations: 4 kB / 0.5622 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3982, allocations: 0 / 0.5622 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.3985, allocations: 187.4 kB / 0.5624 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.3985, allocations: 7.953 kB / 0.5624 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3985, allocations: 7.922 kB / 0.5624 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.3986, allocations: 8 kB / 0.5624 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.3986, allocations: 7.984 kB / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3986, allocations: 0 / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3987, allocations: 125.3 kB / 0.5625 GB, free: 1.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3987, allocations: 4 kB / 0.5625 GB, free: 1.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.399, allocations: 11.95 kB / 0.5625 GB, free: 1.711 MB / 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 (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.002075/0.401, allocations: 1.027 MB / 0.5635 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.4013, allocations: 51.97 kB / 0.5636 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4013, allocations: 0 / 0.5636 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/0.4014, allocations: 27.97 kB / 0.5636 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.4019, allocations: 12 kB / 0.5636 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.4041, allocations: 1.496 MB / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.4046, allocations: 0.7033 MB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.991e-05/0.4047, allocations: 16.02 kB / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.4047, allocations: 23.44 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4047, allocations: 4 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.4347, allocations: 2.79 MB / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.5, allocations: 0 / 0.5685 GB, free: 11.64 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.631666722940281]