Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001376/0.001376, 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.001588/0.001588, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.224/0.224, allocations: 44.91 MB / 359.6 MB, free: 6.32 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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.002284/0.002284, allocations: 67.84 kB / 0.4939 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3166, allocations: 65.47 MB / 0.5578 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003148/0.3198, allocations: 1.642 MB / 0.5594 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3218, allocations: 1.267 MB / 0.5606 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.3218, allocations: 0 / 0.5606 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.322, allocations: 35.77 kB / 0.5607 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.3223, allocations: 87.62 kB / 0.5608 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.3226, allocations: 107.7 kB / 0.5609 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3228, allocations: 83.75 kB / 0.5609 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.3229, allocations: 15.98 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.3229, allocations: 31.8 kB / 0.561 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3231, allocations: 39.83 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3231, allocations: 8 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.3233, allocations: 95.94 kB / 0.5611 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.3233, allocations: 27.86 kB / 0.5612 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.3234, allocations: 31.8 kB / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.3237, allocations: 155.5 kB / 0.5613 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.3237, allocations: 4 kB / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3237, allocations: 0 / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3237, allocations: 0 / 0.5613 GB, free: 4.168 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005638/0.3243, allocations: 341.6 kB / 0.5617 GB, free: 3.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3243, allocations: 8.031 kB / 0.5617 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.3243, allocations: 8.125 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.3244, allocations: 42.69 kB / 0.5617 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.3244, allocations: 8.891 kB / 0.5617 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3246, allocations: 134.4 kB / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3246, allocations: 384 / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.3247, allocations: 12.12 kB / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3248, allocations: 79.33 kB / 0.5619 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3249, allocations: 7.891 kB / 0.562 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3249, allocations: 0 / 0.562 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3249, allocations: 11.98 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.325, allocations: 35.97 kB / 0.562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3254, allocations: 275.8 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3256, allocations: 50.56 kB / 0.5623 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.3256, allocations: 20.97 kB / 0.5623 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3257, allocations: 4 kB / 0.5623 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3257, allocations: 34.55 kB / 0.5624 GB, free: 2.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3257, allocations: 4 kB / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007086/0.3264, allocations: 197.4 kB / 0.5626 GB, free: 2.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.3265, allocations: 81.05 kB / 0.5626 GB, free: 2.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3267, allocations: 161.6 kB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3267, allocations: 25.7 kB / 0.5628 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.3267, allocations: 96.12 kB / 0.5629 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3268, allocations: 27.75 kB / 0.5629 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.3268, allocations: 25.7 kB / 0.563 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.327, allocations: 318.8 kB / 0.5633 GB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.3271, allocations: 31.97 kB / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3272, allocations: 45.69 kB / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3274, allocations: 68.83 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3274, allocations: 0 / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002524/0.3276, allocations: 109.6 kB / 0.5635 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3276, allocations: 6.031 kB / 0.5635 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3276, allocations: 320 / 0.5635 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3276, allocations: 8.016 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3278, allocations: 23.88 kB / 0.5635 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3278, allocations: 0 / 0.5635 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.3278, allocations: 11.98 kB / 0.5636 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3279, allocations: 7.922 kB / 0.5636 GB, free: 1.68 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.0001076/0.328, allocations: 117.8 kB / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.328, allocations: 16.27 kB / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.3283, allocations: 122.4 kB / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3283, allocations: 11.86 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3283, allocations: 4 kB / 0.5638 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3284, allocations: 7.938 kB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005482/0.3289, allocations: 369.6 kB / 0.5642 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.3289, allocations: 3.938 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.329, allocations: 23.92 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.329, allocations: 0 / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.329, allocations: 4 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.329, allocations: 0 / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.329, allocations: 0 / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.3293, allocations: 203.5 kB / 0.5644 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.3293, allocations: 11.89 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3293, allocations: 4 kB / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.3294, allocations: 11.98 kB / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.3295, allocations: 4 kB / 0.5644 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3295, allocations: 3.984 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3296, allocations: 115.3 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3296, allocations: 0 / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.3299, allocations: 47.86 kB / 0.5646 GB, free: 0.5312 MB / 398.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 (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.002415/0.3323, allocations: 1.138 MB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.3326, allocations: 75.94 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3326, allocations: 3.938 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.834e-05/0.3327, allocations: 35.97 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3331, allocations: 23.94 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3351, allocations: 1.546 MB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3354, allocations: 0.7045 MB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3355, allocations: 20.72 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.3356, allocations: 35.42 kB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3356, allocations: 0 / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3615, allocations: 3.665 MB / 0.5717 GB, free: 9.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.7, allocations: 13.67 kB / 0.5717 GB, free: 9.375 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 14.820208988036029]