Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001412/0.001412, 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.002589/0.002589, allocations: 213.1 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2298/0.2298, allocations: 44.92 MB / 358.8 MB, free: 6.293 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",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.002271/0.002271, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3706, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003267/0.3738, allocations: 1.672 MB / 0.5587 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3749, allocations: 0.5582 MB / 0.5592 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.375, allocations: 4 kB / 0.5592 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.3753, allocations: 95.67 kB / 0.5593 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.3756, allocations: 111.6 kB / 0.5594 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.3759, allocations: 99.69 kB / 0.5595 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.3761, allocations: 103.7 kB / 0.5596 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3762, allocations: 17.81 kB / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.3763, allocations: 43.83 kB / 0.5597 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.3764, allocations: 67.75 kB / 0.5597 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3764, allocations: 8 kB / 0.5598 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3766, allocations: 47.97 kB / 0.5598 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.3767, allocations: 27.86 kB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.3e-05/0.3768, allocations: 39.69 kB / 0.5599 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.377, allocations: 135.3 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.377, allocations: 4 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.377, allocations: 0 / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.377, allocations: 0 / 0.56 GB, free: 4.754 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.0005745/0.3776, allocations: 361.5 kB / 0.5603 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3777, allocations: 8.031 kB / 0.5603 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.3777, allocations: 34.73 kB / 0.5604 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.3778, allocations: 20.84 kB / 0.5604 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.378, allocations: 158.7 kB / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.378, allocations: 384 / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.378, allocations: 12.38 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3782, allocations: 65.61 kB / 0.5606 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3782, allocations: 3.953 kB / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3782, allocations: 4 kB / 0.5606 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3782, allocations: 4 kB / 0.5606 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3784, allocations: 39.95 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.3788, allocations: 295.8 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.379, allocations: 66.56 kB / 0.561 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.3791, allocations: 20.84 kB / 0.561 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3791, allocations: 112 / 0.561 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3791, allocations: 46.44 kB / 0.5611 GB, free: 3.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.3791, allocations: 0 / 0.5611 GB, free: 3.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.3803, allocations: 321.6 kB / 0.5614 GB, free: 3.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3803, allocations: 51.41 kB / 0.5614 GB, free: 3.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.3806, allocations: 239.5 kB / 0.5617 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3806, allocations: 29.7 kB / 0.5617 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.3807, allocations: 120 kB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.3808, allocations: 39.64 kB / 0.5619 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.3808, allocations: 29.7 kB / 0.5619 GB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.381, allocations: 326.8 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3811, allocations: 31.98 kB / 0.5622 GB, free: 2.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3813, allocations: 35.97 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.3815, allocations: 100.6 kB / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3815, allocations: 0 / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003461/0.3819, allocations: 137.6 kB / 0.5625 GB, free: 2.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3819, allocations: 4 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3819, allocations: 4 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3819, allocations: 7.875 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3821, allocations: 23.98 kB / 0.5625 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3821, allocations: 0 / 0.5625 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3822, allocations: 11.92 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3822, allocations: 12 kB / 0.5625 GB, free: 1.941 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.0001561/0.3824, allocations: 133.8 kB / 0.5627 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.3824, allocations: 15.91 kB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.3828, allocations: 159 kB / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3828, allocations: 0 / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3828, allocations: 0 / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3828, allocations: 4 kB / 0.5628 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.3834, allocations: 458 kB / 0.5633 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.3834, allocations: 0 / 0.5633 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.3835, allocations: 31.97 kB / 0.5633 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3835, allocations: 0 / 0.5633 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3835, allocations: 4 kB / 0.5633 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3835, allocations: 4 kB / 0.5633 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3835, allocations: 0 / 0.5633 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.3839, allocations: 252.2 kB / 0.5636 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3839, allocations: 15.89 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3839, allocations: 0 / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.384, allocations: 8 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.3841, allocations: 11.98 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3841, allocations: 4 kB / 0.5636 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.3842, allocations: 181.2 kB / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3842, allocations: 0 / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000259/0.3845, allocations: 24 kB / 0.5638 GB, free: 0.5742 MB / 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.002463/0.387, allocations: 1.137 MB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.3873, allocations: 95.39 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3873, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3874, allocations: 59.84 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3879, allocations: 28.45 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.3905, allocations: 1.842 MB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.391, allocations: 0.7197 MB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.627e-05/0.3911, allocations: 16.48 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.3911, allocations: 39.42 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3911, allocations: 4 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.4257, allocations: 3.725 MB / 0.5713 GB, free: 9.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.76, allocations: 11.06 kB / 0.5713 GB, free: 9.012 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.950479194056243]