Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001988/0.001988, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002441/0.002441, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2204/0.2204, allocations: 44.93 MB / 359.6 MB, free: 6.094 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.002023/0.002023, allocations: 67.89 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 65.47 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003198/0.3567, allocations: 1.604 MB / 0.5593 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3577, allocations: 0.5232 MB / 0.5598 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.3577, allocations: 0 / 0.5598 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.3581, allocations: 127.6 kB / 0.5599 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.3584, allocations: 131.5 kB / 0.5601 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.3587, allocations: 83.77 kB / 0.5602 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.3589, allocations: 107.7 kB / 0.5603 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.359, allocations: 13.81 kB / 0.5603 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.359, allocations: 55.77 kB / 0.5603 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3592, allocations: 95.75 kB / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.3592, allocations: 0 / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.3593, allocations: 43.98 kB / 0.5605 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.3594, allocations: 23.91 kB / 0.5605 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.3594, allocations: 27.75 kB / 0.5605 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.3596, allocations: 135.3 kB / 0.5606 GB, free: 4.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3596, allocations: 4 kB / 0.5606 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3596, allocations: 0 / 0.5606 GB, free: 4.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3596, allocations: 0 / 0.5606 GB, free: 4.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005313/0.3602, allocations: 369.3 kB / 0.561 GB, free: 4.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3602, allocations: 8.031 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.453e-05/0.3602, allocations: 192 / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.3602, allocations: 38.73 kB / 0.561 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3603, allocations: 12.84 kB / 0.561 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3605, allocations: 162.4 kB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3605, allocations: 4.359 kB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3605, allocations: 8.125 kB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3607, allocations: 53.67 kB / 0.5613 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3607, allocations: 0 / 0.5613 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3607, allocations: 7.938 kB / 0.5613 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3607, allocations: 4 kB / 0.5613 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3608, allocations: 23.97 kB / 0.5613 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3612, allocations: 267.9 kB / 0.5616 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3613, allocations: 46.5 kB / 0.5616 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.3613, allocations: 20.94 kB / 0.5616 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3613, allocations: 0 / 0.5616 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3614, allocations: 30.56 kB / 0.5616 GB, free: 3.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3614, allocations: 7.938 kB / 0.5617 GB, free: 3.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008845/0.3622, allocations: 233.1 kB / 0.5619 GB, free: 3.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3623, allocations: 59.34 kB / 0.5619 GB, free: 3.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.3626, allocations: 271.8 kB / 0.5622 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3626, allocations: 29.7 kB / 0.5622 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.3627, allocations: 120.1 kB / 0.5623 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.3627, allocations: 19.75 kB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.3628, allocations: 29.7 kB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3629, allocations: 322.8 kB / 0.5627 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.363, allocations: 27.98 kB / 0.5627 GB, free: 2.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.3631, allocations: 19.98 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3632, allocations: 68.98 kB / 0.5628 GB, free: 2.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3632, allocations: 0 / 0.5628 GB, free: 2.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002267/0.3634, allocations: 113.6 kB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3634, allocations: 6.5 kB / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3635, allocations: 0 / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3635, allocations: 4 kB / 0.5629 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3636, allocations: 19.98 kB / 0.5629 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3636, allocations: 3.938 kB / 0.5629 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.3636, allocations: 4 kB / 0.5629 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.3636, allocations: 7.938 kB / 0.563 GB, free: 2.012 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 (8): * Single equations (assignments): 8 * 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.0001255/0.3638, allocations: 147.1 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.3638, allocations: 11.91 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.3641, allocations: 119 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3641, allocations: 0 / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3641, allocations: 7.938 kB / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3641, allocations: 432 / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.3646, allocations: 374.4 kB / 0.5636 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3647, allocations: 7.969 kB / 0.5636 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.3647, allocations: 23.92 kB / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3647, allocations: 0 / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3647, allocations: 7.938 kB / 0.5636 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3647, allocations: 0 / 0.5636 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3647, allocations: 4 kB / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.365, allocations: 204.3 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.3651, allocations: 15.84 kB / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3651, allocations: 4 kB / 0.5638 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.3652, allocations: 8 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3652, allocations: 11.92 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.3652, allocations: 4 kB / 0.5639 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.3654, allocations: 212.1 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3654, allocations: 0 / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3657, allocations: 23.94 kB / 0.5641 GB, free: 0.7617 MB / 398.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 (8): * Single equations (assignments): 8 * 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.3681, allocations: 1.127 MB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.3683, allocations: 63.89 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3683, allocations: 0 / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.3684, allocations: 39.8 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3687, allocations: 38.58 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3709, allocations: 1.797 MB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.371, allocations: 109.1 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.3711, allocations: 16.97 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.3711, allocations: 43.42 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3711, allocations: 0 / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.3936, allocations: 3.635 MB / 0.5708 GB, free: 10.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.86, allocations: 7.812 kB / 0.5708 GB, free: 10.04 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.118247290956788]