Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001263/0.001263, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001419/0.001419, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2809/0.2809, allocations: 46.96 MB / 361.7 MB, free: 4.023 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.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 59.91 kB / 0.4969 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.387, allocations: 66.03 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003525/0.3905, allocations: 1.596 MB / 0.5629 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.3927, allocations: 1.228 MB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.3928, allocations: 7.938 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.393, allocations: 19.8 kB / 0.5642 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.3933, allocations: 87.67 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.3937, allocations: 95.44 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3939, allocations: 63.84 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.394, allocations: 13.81 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.3941, allocations: 27.86 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.3942, allocations: 39.72 kB / 0.5645 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3943, allocations: 4 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.3945, allocations: 91.94 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.3946, allocations: 11.94 kB / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.3946, allocations: 27.91 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.3949, allocations: 139.4 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3949, allocations: 0 / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3949, allocations: 0 / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3949, allocations: 0 / 0.5647 GB, free: 0.7578 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.0007023/0.3956, allocations: 333.7 kB / 0.565 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.3957, allocations: 8.031 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.3957, allocations: 192 / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.3958, allocations: 34.75 kB / 0.5651 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3958, allocations: 4.891 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.396, allocations: 142.3 kB / 0.5652 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3961, allocations: 8.375 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.3961, allocations: 8.125 kB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3963, allocations: 85.05 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3963, allocations: 4 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3963, allocations: 0 / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3963, allocations: 0 / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.3964, allocations: 27.97 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.3968, allocations: 236 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.3971, allocations: 42.5 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.3971, allocations: 24.94 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3972, allocations: 0 / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3972, allocations: 34.56 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.3972, allocations: 0 / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006277/0.3978, allocations: 145.5 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.3979, allocations: 77.11 kB / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3981, allocations: 152.6 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3981, allocations: 29.7 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.3981, allocations: 96.08 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3982, allocations: 23.84 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.3982, allocations: 13.72 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3984, allocations: 318.8 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.452e-05/0.3985, allocations: 19.98 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.3986, allocations: 59.34 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3987, allocations: 48.83 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3987, allocations: 4.031 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001887/0.3989, allocations: 77.62 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3989, allocations: 7.938 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3989, allocations: 3.938 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3989, allocations: 4 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.399, allocations: 11.98 kB / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.399, allocations: 0 / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.3991, allocations: 7.938 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3991, allocations: 4 kB / 0.5667 GB, free: 14.48 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.0001264/0.3992, allocations: 129.8 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.3992, allocations: 3.953 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.3995, allocations: 86.06 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3995, allocations: 0 / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3995, allocations: 4 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3995, allocations: 3.938 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.3999, allocations: 313.9 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3999, allocations: 4.062 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.4, allocations: 15.98 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4, allocations: 7.938 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4, allocations: 0 / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4, allocations: 0 / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.4003, allocations: 175.4 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.4003, allocations: 11.94 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.4003, allocations: 3.938 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.4004, allocations: 12 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.4004, allocations: 3.984 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4004, allocations: 4 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.4005, allocations: 111.3 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4005, allocations: 0 / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.4008, allocations: 39.86 kB / 0.5676 GB, free: 13.48 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.002372/0.4032, allocations: 1.139 MB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4034, allocations: 51.89 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4034, allocations: 0 / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.781e-05/0.4035, allocations: 23.98 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.4039, allocations: 15.98 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.4057, allocations: 1.429 MB / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.154e-05/0.4057, allocations: 87.02 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.091e-05/0.4058, allocations: 15.98 kB / 0.5703 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.4059, allocations: 31.42 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4059, allocations: 0 / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.431, allocations: 3.492 MB / 0.5738 GB, free: 7.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 4.062 kB / 0.5738 GB, free: 7.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.03717476699967]