Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001821/0.001821, allocations: 115.6 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.00161/0.00161, allocations: 213.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.618/1.618, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2299/0.2299, allocations: 44.91 MB / 358.8 MB, free: 6.324 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.002045/0.002045, allocations: 67.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3443, allocations: 65.47 MB / 0.557 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003169/0.3475, allocations: 1.63 MB / 0.5586 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3495, allocations: 1.251 MB / 0.5598 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.3495, allocations: 0 / 0.5598 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3498, allocations: 23.8 kB / 0.5599 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.3501, allocations: 87.61 kB / 0.56 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.3504, allocations: 91.75 kB / 0.56 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3506, allocations: 71.77 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3507, allocations: 13.83 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.3507, allocations: 19.92 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3509, allocations: 39.78 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3509, allocations: 4 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3511, allocations: 99.92 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.3512, allocations: 11.94 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.3512, allocations: 35.78 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.3515, allocations: 135.5 kB / 0.5605 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3515, allocations: 0 / 0.5605 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3515, allocations: 0 / 0.5605 GB, free: 4.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3515, allocations: 0 / 0.5605 GB, free: 4.293 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.000541/0.352, allocations: 329.7 kB / 0.5608 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3521, allocations: 12.03 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.3521, allocations: 34.75 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3522, allocations: 8.891 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3524, allocations: 142.3 kB / 0.561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3524, allocations: 384 / 0.561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3524, allocations: 4.375 kB / 0.561 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3526, allocations: 67.34 kB / 0.561 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3526, allocations: 0 / 0.561 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3526, allocations: 0 / 0.561 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3527, allocations: 0 / 0.561 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.3528, allocations: 27.97 kB / 0.5611 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.3533, allocations: 247.9 kB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.3536, allocations: 42.56 kB / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.3537, allocations: 16.94 kB / 0.5613 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.3537, allocations: 0 / 0.5613 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.966e-05/0.3538, allocations: 34.56 kB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 4.899e-06/0.3538, allocations: 7.984 kB / 0.5614 GB, free: 3.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006056/0.3544, allocations: 141.4 kB / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.3545, allocations: 81.11 kB / 0.5616 GB, free: 2.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.3546, allocations: 145.8 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3547, allocations: 25.7 kB / 0.5618 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.3547, allocations: 96.08 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.3548, allocations: 19.84 kB / 0.5619 GB, free: 2.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.3548, allocations: 13.72 kB / 0.5619 GB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.355, allocations: 334.6 kB / 0.5622 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.355, allocations: 23.98 kB / 0.5622 GB, free: 2.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.3551, allocations: 29.7 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.3553, allocations: 48.83 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3553, allocations: 0 / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002453/0.3555, allocations: 73.62 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3556, allocations: 12.03 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3556, allocations: 0 / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.3556, allocations: 3.938 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.3557, allocations: 15.92 kB / 0.5624 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3557, allocations: 4 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.3558, allocations: 3.938 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3558, allocations: 4 kB / 0.5624 GB, free: 2.07 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.0001038/0.3559, allocations: 117.8 kB / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.3559, allocations: 11.95 kB / 0.5625 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3562, allocations: 86.06 kB / 0.5626 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3562, allocations: 4 kB / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3562, allocations: 0 / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3562, allocations: 3.938 kB / 0.5626 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.3567, allocations: 321.9 kB / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.3567, allocations: 4.062 kB / 0.5629 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.3567, allocations: 15.98 kB / 0.563 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3567, allocations: 4 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3567, allocations: 3.938 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3567, allocations: 0 / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3567, allocations: 0 / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.357, allocations: 179.4 kB / 0.5631 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.357, allocations: 15.95 kB / 0.5631 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.357, allocations: 3.938 kB / 0.5632 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.3571, allocations: 7.984 kB / 0.5632 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.3571, allocations: 0 / 0.5632 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3571, allocations: 4 kB / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3573, allocations: 113.6 kB / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3573, allocations: 0 / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.3576, allocations: 39.86 kB / 0.5633 GB, free: 1.062 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.002448/0.36, allocations: 1.111 MB / 0.5644 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3603, allocations: 47.91 kB / 0.5644 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3603, allocations: 0 / 0.5644 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.3603, allocations: 23.98 kB / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.3607, allocations: 21.48 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.3628, allocations: 1.435 MB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.3632, allocations: 0.6923 MB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.3633, allocations: 20 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.979e-05/0.3634, allocations: 23.42 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3634, allocations: 0 / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.3947, allocations: 3.39 MB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.34, allocations: 3.375 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.698901739000576]