Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0008109/0.0008109, allocations: 72.56 kB / 19.92 MB, free: 4.621 MB / 18.57 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.0008553/0.0008553, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8238/0.8238, allocations: 158.6 MB / 185 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1209/0.1209, allocations: 32.38 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.016e-05, allocations: 6.281 kB / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002109/0.002129, allocations: 1.552 MB / 408.4 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.002603, allocations: 315.5 kB / 408.7 MB, free: 360 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.00266, allocations: 0 / 408.7 MB, free: 360 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.002938, allocations: 71.73 kB / 408.8 MB, free: 288 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.003131, allocations: 71.67 kB / 408.9 MB, free: 216 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.003343, allocations: 71.77 kB / 408.9 MB, free: 144 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.003491, allocations: 59.84 kB / 409 MB, free: 84 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003592, allocations: 7.984 kB / 409 MB, free: 76 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.003652, allocations: 43.83 kB / 409 MB, free: 32 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.003752, allocations: 47.88 kB / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.00377, allocations: 4 kB / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.003837, allocations: 28 kB / 409.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.00389, allocations: 15.92 kB / 409.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.003919, allocations: 19.94 kB / 409.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.004062, allocations: 87.64 kB / 409.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004064, allocations: 3.938 kB / 409.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004065, allocations: 0 / 409.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.00407, allocations: 0 / 409.2 MB, free: 15.83 MB / 394.7 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.0003504/0.00442, allocations: 317.8 kB / 409.5 MB, free: 15.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.004459, allocations: 8.031 kB / 409.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.004488, allocations: 34.75 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.004513, allocations: 12.89 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.004639, allocations: 149.4 kB / 409.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.00465, allocations: 384 / 409.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.004669, allocations: 4.375 kB / 409.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.00478, allocations: 42.25 kB / 409.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.00479, allocations: 192 / 409.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.0048, allocations: 11.94 kB / 409.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.004805, allocations: 0 / 409.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.874e-05/0.004864, allocations: 19.98 kB / 409.8 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.005144, allocations: 251.9 kB / 410.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.005325, allocations: 50.48 kB / 410.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.005354, allocations: 16.86 kB / 410.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.005374, allocations: 0 / 410.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.005392, allocations: 38.56 kB / 410.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.005393, allocations: 0 / 410.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003633/0.005756, allocations: 137.5 kB / 410.3 MB, free: 14.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.005786, allocations: 59.41 kB / 410.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.005909, allocations: 190.3 kB / 410.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.005918, allocations: 25.7 kB / 410.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.005962, allocations: 104.1 kB / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.005985, allocations: 15.84 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.006013, allocations: 17.72 kB / 410.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.006084, allocations: 326.8 kB / 411 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.919e-05/0.006124, allocations: 15.98 kB / 411 MB, free: 13.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.006153, allocations: 23.92 kB / 411.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.606e-05/0.006219, allocations: 48.83 kB / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.00622, allocations: 0 / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.006322, allocations: 77.62 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006335, allocations: 4 kB / 411.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.00634, allocations: 0 / 411.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006351, allocations: 0 / 411.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.006389, allocations: 15.98 kB / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006393, allocations: 0 / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.006413, allocations: 15.92 kB / 411.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.006417, allocations: 4 kB / 411.2 MB, free: 13.64 MB / 394.7 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 6.181e-05/0.006479, allocations: 125.7 kB / 411.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.006497, allocations: 15.84 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.006631, allocations: 90.38 kB / 411.5 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.006634, allocations: 4 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.00664, allocations: 8.047 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.006643, allocations: 0 / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.006897, allocations: 313.5 kB / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.006898, allocations: 4 kB / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.006926, allocations: 11.98 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006928, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.006935, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006936, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006937, allocations: 4 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.007052, allocations: 179.4 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.00706, allocations: 11.95 kB / 412 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.007071, allocations: 3.984 kB / 412 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.007103, allocations: 4 kB / 412 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.007135, allocations: 7.984 kB / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.007139, allocations: 3.938 kB / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.007209, allocations: 144.1 kB / 412.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007209, allocations: 0 / 412.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.007377, allocations: 19.98 kB / 412.2 MB, free: 12.63 MB / 394.7 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.0008507/0.008228, allocations: 1.042 MB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.008348, allocations: 43.91 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008349, allocations: 0 / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.008384, allocations: 23.98 kB / 413.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.008624, allocations: 23.86 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.009664, allocations: 1.53 MB / 414.8 MB, free: 9.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.612e-05/0.00972, allocations: 75.33 kB / 414.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.451e-05/0.009755, allocations: 11.98 kB / 414.9 MB, free: 9.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.009799, allocations: 28.48 kB / 414.9 MB, free: 9.758 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0098, allocations: 0 / 414.9 MB, free: 9.758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.02355, allocations: 3.397 MB / 418.3 MB, free: 6.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/6.576, allocations: 3.938 kB / 418.3 MB, free: 6.227 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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: 8.399196817539632]