Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001493/0.001493, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001491/0.001491, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.263/0.263, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",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.002085/0.002085, allocations: 64.12 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3853, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003597/0.3889, allocations: 2.06 MB / 0.5598 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3912, allocations: 1.377 MB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3913, allocations: 7.938 kB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.3916, allocations: 63.55 kB / 0.5612 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.3921, allocations: 203.1 kB / 0.5614 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3935, allocations: 0.6106 MB / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.3939, allocations: 323 kB / 0.5623 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3941, allocations: 52.91 kB / 0.5624 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.3944, allocations: 143.3 kB / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.3947, allocations: 203.3 kB / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.3947, allocations: 16 kB / 0.5627 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.3949, allocations: 63.98 kB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3951, allocations: 151.4 kB / 0.5629 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.3953, allocations: 178.6 kB / 0.5631 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.3958, allocations: 424 kB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3958, allocations: 0 / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3958, allocations: 0 / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3958, allocations: 0 / 0.5635 GB, free: 1.945 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001135/0.3969, allocations: 0.7523 MB / 0.5642 GB, free: 1.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.397, allocations: 12.03 kB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.397, allocations: 8.125 kB / 0.5643 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.397, allocations: 46.73 kB / 0.5643 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002883/0.3973, allocations: 76.5 kB / 0.5644 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.398, allocations: 427.2 kB / 0.5648 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3981, allocations: 8.125 kB / 0.5648 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3981, allocations: 12 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.3984, allocations: 151 kB / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3984, allocations: 4 kB / 0.5649 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3984, allocations: 0 / 0.5649 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3985, allocations: 0 / 0.5649 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.3987, allocations: 103.9 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3998, allocations: 0.6753 MB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.4, allocations: 117.2 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.4001, allocations: 41.77 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.4001, allocations: 11.98 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.4002, allocations: 34.56 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4002, allocations: 0 / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001622/0.4018, allocations: 0.5618 MB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.4018, allocations: 81.11 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.403, allocations: 0.9299 MB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.403, allocations: 29.7 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.4032, allocations: 276.3 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.4033, allocations: 63.47 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.4034, allocations: 29.7 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4035, allocations: 317.9 kB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.4037, allocations: 72.69 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.4039, allocations: 88.7 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.4043, allocations: 149.8 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4043, allocations: 4 kB / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005287/0.4048, allocations: 249.1 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4048, allocations: 4 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4048, allocations: 4 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4048, allocations: 4 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.405, allocations: 35.97 kB / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.405, allocations: 0 / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4052, allocations: 19.98 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.4052, allocations: 4 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002355/0.4054, allocations: 221.6 kB / 0.5689 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.4056, allocations: 67.58 kB / 0.569 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006781/0.4062, allocations: 290.9 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.4062, allocations: 4 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4063, allocations: 0 / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4063, allocations: 3.938 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4075, allocations: 0.7894 MB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4075, allocations: 0 / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.4077, allocations: 47.91 kB / 0.5701 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4077, allocations: 0 / 0.5701 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4077, allocations: 11.92 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4077, allocations: 0 / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4077, allocations: 4 kB / 0.5701 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.4083, allocations: 418.3 kB / 0.5705 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.4085, allocations: 75.59 kB / 0.5706 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.4085, allocations: 7.938 kB / 0.5706 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.4087, allocations: 15.98 kB / 0.5706 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.4088, allocations: 23.91 kB / 0.5706 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.4088, allocations: 4 kB / 0.5706 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000795/0.4096, allocations: 0.6786 MB / 0.5713 GB, free: 9.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4096, allocations: 4 kB / 0.5713 GB, free: 9.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.41, allocations: 59.94 kB / 0.5714 GB, free: 9.566 MB / 414.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 (16): * Single equations (assignments): 16 * 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.002375/0.4124, allocations: 1.255 MB / 0.5726 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.4128, allocations: 155.9 kB / 0.5727 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4128, allocations: 0 / 0.5727 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.4131, allocations: 87.81 kB / 0.5728 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.4137, allocations: 78.08 kB / 0.5729 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/0.4208, allocations: 5.201 MB / 0.578 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.4215, allocations: 0.8769 MB / 0.5788 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.4217, allocations: 99.2 kB / 0.5789 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.422, allocations: 179.4 kB / 0.5791 GB, free: 1.66 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.422, allocations: 0 / 0.5791 GB, free: 1.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.4558, allocations: 10.4 MB / 0.5892 GB, free: 7.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.41, allocations: 7.25 kB / 0.5893 GB, free: 7.348 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 15.744815360987559]