Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.00212/0.00212, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001483/0.001483, allocations: 214.8 kB / 23.73 MB, free: 4.41 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2307/0.2307, allocations: 44.93 MB / 358.8 MB, free: 6.051 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.003121/0.003121, allocations: 73.61 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3995, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.004129/0.4036, allocations: 1.594 MB / 0.5585 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.406, allocations: 1.24 MB / 0.5597 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.406, allocations: 0 / 0.5597 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.4063, allocations: 15.86 kB / 0.5598 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.4066, allocations: 87.61 kB / 0.5598 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.4069, allocations: 99.39 kB / 0.5599 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.4071, allocations: 71.77 kB / 0.56 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4072, allocations: 9.828 kB / 0.56 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.4073, allocations: 19.92 kB / 0.56 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.4074, allocations: 35.83 kB / 0.5601 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.4074, allocations: 8 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.4076, allocations: 95.88 kB / 0.5602 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.4077, allocations: 11.94 kB / 0.5602 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.4078, allocations: 19.86 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.4081, allocations: 139.5 kB / 0.5603 GB, free: 4.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4081, allocations: 0 / 0.5603 GB, free: 4.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4081, allocations: 0 / 0.5603 GB, free: 4.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4081, allocations: 4 kB / 0.5603 GB, free: 4.086 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.0005989/0.4087, allocations: 321.7 kB / 0.5606 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4088, allocations: 8.031 kB / 0.5607 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.4088, allocations: 46.73 kB / 0.5607 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.4088, allocations: 4.891 kB / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.4091, allocations: 134.4 kB / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.4091, allocations: 384 / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4091, allocations: 4.375 kB / 0.5608 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.4093, allocations: 93.03 kB / 0.5609 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4093, allocations: 0 / 0.5609 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.4093, allocations: 0 / 0.5609 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4093, allocations: 3.938 kB / 0.5609 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.4094, allocations: 31.91 kB / 0.561 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.4098, allocations: 248 kB / 0.5612 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.41, allocations: 42.56 kB / 0.5612 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.4101, allocations: 16.8 kB / 0.5613 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4101, allocations: 4.078 kB / 0.5613 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.4101, allocations: 34.56 kB / 0.5613 GB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4101, allocations: 0 / 0.5613 GB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005889/0.4107, allocations: 141.4 kB / 0.5614 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4108, allocations: 81.11 kB / 0.5615 GB, free: 2.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.411, allocations: 144.8 kB / 0.5616 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.411, allocations: 25.7 kB / 0.5617 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.4111, allocations: 100.1 kB / 0.5618 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.4111, allocations: 15.86 kB / 0.5618 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.4111, allocations: 21.7 kB / 0.5618 GB, free: 2.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4113, allocations: 318.8 kB / 0.5621 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.4114, allocations: 19.98 kB / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.601e-05/0.4115, allocations: 63.39 kB / 0.5622 GB, free: 1.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.4116, allocations: 45.03 kB / 0.5622 GB, free: 1.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4116, allocations: 3.938 kB / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002191/0.4118, allocations: 89.55 kB / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4118, allocations: 4 kB / 0.5623 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4118, allocations: 4 kB / 0.5623 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4119, allocations: 0 / 0.5623 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.4119, allocations: 12.02 kB / 0.5623 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4119, allocations: 4 kB / 0.5623 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.412, allocations: 7.938 kB / 0.5623 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.412, allocations: 4 kB / 0.5623 GB, free: 1.809 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.0001095/0.4121, allocations: 113.8 kB / 0.5625 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.4121, allocations: 3.953 kB / 0.5625 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.4124, allocations: 97.98 kB / 0.5626 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4124, allocations: 0 / 0.5626 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4124, allocations: 4 kB / 0.5626 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4124, allocations: 7.938 kB / 0.5626 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.4129, allocations: 305.7 kB / 0.5629 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4129, allocations: 0 / 0.5629 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.413, allocations: 15.88 kB / 0.5629 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.413, allocations: 0 / 0.5629 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.413, allocations: 7.938 kB / 0.5629 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.413, allocations: 3.984 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.413, allocations: 192 / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.4132, allocations: 179.5 kB / 0.5631 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.4133, allocations: 11.95 kB / 0.5631 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.4133, allocations: 7.922 kB / 0.5631 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.4133, allocations: 4 kB / 0.5631 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.4134, allocations: 0 / 0.5631 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.4134, allocations: 7.984 kB / 0.5631 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.4135, allocations: 111.3 kB / 0.5632 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4135, allocations: 0 / 0.5632 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.4138, allocations: 39.86 kB / 0.5632 GB, free: 0.8125 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.002556/0.4164, allocations: 1.143 MB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4166, allocations: 47.86 kB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4166, allocations: 0 / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.4167, allocations: 31.91 kB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.4173, allocations: 13.62 kB / 0.5644 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4196, allocations: 1.424 MB / 0.5658 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.4197, allocations: 75.08 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.4198, allocations: 19.95 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.4198, allocations: 31.36 kB / 0.5659 GB, free: 14.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4198, allocations: 4 kB / 0.5659 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.4516, allocations: 3.849 MB / 0.5697 GB, free: 10.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.94, allocations: 0 / 0.5697 GB, free: 10.32 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_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_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.051021802704781]