Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001665/0.001665, 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.001504/0.001504, allocations: 211.3 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.496/1.496, 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.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.2253/0.2253, allocations: 44.93 MB / 358.8 MB, free: 6.047 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.00215/0.00215, allocations: 75.89 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3395, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003986/0.3435, allocations: 1.64 MB / 0.5586 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3448, allocations: 0.5193 MB / 0.5591 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.3448, allocations: 0 / 0.5591 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.3452, allocations: 103.7 kB / 0.5592 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.3456, allocations: 115.6 kB / 0.5593 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3459, allocations: 103.4 kB / 0.5594 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.3461, allocations: 99.73 kB / 0.5595 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3463, allocations: 25.81 kB / 0.5595 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.3463, allocations: 39.84 kB / 0.5596 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3464, allocations: 67.73 kB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3465, allocations: 4 kB / 0.5596 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3466, allocations: 51.97 kB / 0.5597 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.3466, allocations: 23.86 kB / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.3467, allocations: 35.73 kB / 0.5597 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.3469, allocations: 123.4 kB / 0.5599 GB, free: 4.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3469, allocations: 0 / 0.5599 GB, free: 4.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3469, allocations: 0 / 0.5599 GB, free: 4.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3469, allocations: 0 / 0.5599 GB, free: 4.586 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005049/0.3474, allocations: 369.4 kB / 0.5602 GB, free: 4.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3474, allocations: 12.02 kB / 0.5602 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.3475, allocations: 42.75 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.3475, allocations: 12.84 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3477, allocations: 150.2 kB / 0.5604 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3477, allocations: 384 / 0.5604 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3477, allocations: 8.375 kB / 0.5604 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3479, allocations: 77.48 kB / 0.5605 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3479, allocations: 7.953 kB / 0.5605 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3479, allocations: 0 / 0.5605 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3479, allocations: 4 kB / 0.5605 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3481, allocations: 43.95 kB / 0.5605 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.3485, allocations: 283.8 kB / 0.5608 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3487, allocations: 70.48 kB / 0.5609 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.3488, allocations: 20.84 kB / 0.5609 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.3488, allocations: 4 kB / 0.5609 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3488, allocations: 34.55 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3488, allocations: 0 / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001112/0.3499, allocations: 317.7 kB / 0.5612 GB, free: 3.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.35, allocations: 55.45 kB / 0.5613 GB, free: 2.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.3503, allocations: 243.5 kB / 0.5615 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3503, allocations: 25.7 kB / 0.5616 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.3504, allocations: 120 kB / 0.5617 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.3504, allocations: 43.64 kB / 0.5617 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.3505, allocations: 29.72 kB / 0.5617 GB, free: 2.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3506, allocations: 326.8 kB / 0.5621 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3507, allocations: 35.98 kB / 0.5621 GB, free: 2.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.749e-05/0.3508, allocations: 35.97 kB / 0.5621 GB, free: 2.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.351, allocations: 84.83 kB / 0.5622 GB, free: 1.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.351, allocations: 7.938 kB / 0.5622 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002821/0.3513, allocations: 149 kB / 0.5624 GB, free: 1.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3513, allocations: 6.969 kB / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3513, allocations: 0 / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3513, allocations: 7.938 kB / 0.5624 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3515, allocations: 23.98 kB / 0.5624 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3515, allocations: 0 / 0.5624 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.3515, allocations: 7.984 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3515, allocations: 4 kB / 0.5624 GB, free: 1.777 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 (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.0001378/0.3517, allocations: 134.4 kB / 0.5625 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.3517, allocations: 19.91 kB / 0.5625 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.3521, allocations: 167 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3521, allocations: 0 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3521, allocations: 0 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3521, allocations: 0 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.3528, allocations: 442.1 kB / 0.5631 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3528, allocations: 0 / 0.5631 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3529, allocations: 31.95 kB / 0.5632 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3529, allocations: 4 kB / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3529, allocations: 4 kB / 0.5632 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.3529, allocations: 4 kB / 0.5632 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3529, allocations: 0 / 0.5632 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.3533, allocations: 240.2 kB / 0.5634 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.3533, allocations: 15.91 kB / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3533, allocations: 0 / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.3534, allocations: 7.984 kB / 0.5634 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3535, allocations: 19.92 kB / 0.5634 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3535, allocations: 4 kB / 0.5634 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3537, allocations: 185.2 kB / 0.5636 GB, free: 448 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3537, allocations: 0 / 0.5636 GB, free: 448 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3539, allocations: 20 kB / 0.5636 GB, free: 428 kB / 398.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.002469/0.3564, allocations: 1.169 MB / 0.5648 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.3566, allocations: 95.89 kB / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3566, allocations: 0 / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3568, allocations: 51.91 kB / 0.5649 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3571, allocations: 21.44 kB / 0.5649 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.3595, allocations: 1.85 MB / 0.5667 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.3597, allocations: 104.9 kB / 0.5668 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.358e-05/0.3597, allocations: 24.47 kB / 0.5669 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.3598, allocations: 43.42 kB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3598, allocations: 4 kB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.3906, allocations: 4.08 MB / 0.5709 GB, free: 9.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 11.98 kB / 0.5709 GB, free: 9.102 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.913733378984034]