Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001782/0.001782, allocations: 115.9 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.002048/0.002048, 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 46.93 MB / 360.9 MB, free: 4.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.89 kB / 0.4962 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4129, allocations: 66.05 MB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.004633/0.4175, allocations: 1.609 MB / 0.5622 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.419, allocations: 0.5464 MB / 0.5628 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.4191, allocations: 4 kB / 0.5628 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.4193, allocations: 27.86 kB / 0.5628 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.4197, allocations: 79.61 kB / 0.5629 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.4201, allocations: 83.77 kB / 0.563 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.4203, allocations: 67.77 kB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.4204, allocations: 13.81 kB / 0.563 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.4205, allocations: 23.88 kB / 0.5631 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.4206, allocations: 19.86 kB / 0.5631 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4206, allocations: 4 kB / 0.5631 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.4207, allocations: 35.97 kB / 0.5631 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.4207, allocations: 15.94 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.4208, allocations: 27.8 kB / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.421, allocations: 79.66 kB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.421, allocations: 3.938 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.421, allocations: 0 / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.4211, allocations: 0 / 0.5632 GB, free: 1.828 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.0006039/0.4217, allocations: 309.9 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4217, allocations: 8.031 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.4217, allocations: 34.75 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.4218, allocations: 12.89 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.422, allocations: 130.4 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.422, allocations: 4.375 kB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.4221, allocations: 384 / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4222, allocations: 53.56 kB / 0.5638 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4223, allocations: 3.938 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4223, allocations: 0 / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.4223, allocations: 0 / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.4224, allocations: 19.98 kB / 0.5638 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.4229, allocations: 259.9 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.4232, allocations: 42.5 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.4232, allocations: 16.94 kB / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.4232, allocations: 3.984 kB / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.4233, allocations: 34.56 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.4233, allocations: 0 / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000807/0.4241, allocations: 145.4 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.4241, allocations: 51.41 kB / 0.5643 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4244, allocations: 146.2 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4244, allocations: 29.7 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.4245, allocations: 104.1 kB / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.4245, allocations: 15.8 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.4246, allocations: 17.72 kB / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.4248, allocations: 326.8 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.4249, allocations: 19.98 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.425, allocations: 15.98 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.4252, allocations: 48.83 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4252, allocations: 0 / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002871/0.4255, allocations: 81.56 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4255, allocations: 4 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4255, allocations: 0 / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4255, allocations: 4 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.4256, allocations: 15.98 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4256, allocations: 0 / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.4257, allocations: 7.984 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4257, allocations: 7.938 kB / 0.5651 GB, free: 15.7 MB / 414.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.000121/0.4258, allocations: 113.8 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.4259, allocations: 7.953 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.4262, allocations: 90 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4262, allocations: 0 / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4262, allocations: 3.938 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4263, allocations: 8.297 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.4269, allocations: 321.6 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4269, allocations: 288 / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.427, allocations: 15.92 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.427, allocations: 0 / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.427, allocations: 4 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.427, allocations: 3.938 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.427, allocations: 0 / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4273, allocations: 183.5 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.4273, allocations: 3.953 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.4274, allocations: 8 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4275, allocations: 3.938 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.4275, allocations: 7.984 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4275, allocations: 0 / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.4277, allocations: 121.5 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4277, allocations: 4 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004633/0.4281, allocations: 15.94 kB / 0.566 GB, free: 14.71 MB / 414.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.002786/0.4309, allocations: 1.022 MB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.4312, allocations: 51.95 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4312, allocations: 0 / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4313, allocations: 23.92 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.4319, allocations: 23.86 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.4345, allocations: 1.433 MB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.435, allocations: 0.6938 MB / 0.5692 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.542e-05/0.4351, allocations: 11.78 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.4351, allocations: 31.36 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4351, allocations: 192 / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.4679, allocations: 2.697 MB / 0.5718 GB, free: 8.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.53, allocations: 3.938 kB / 0.5719 GB, free: 8.809 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.857032163003169]