Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008547/0.0008547, allocations: 92.27 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000961/0.000961, allocations: 152.9 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9636/0.9636, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2872/0.2872, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 376.7 MB, free: 3.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.484e-05, allocations: 7.938 kB / 376.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3138/0.3139, allocations: 132 MB / 0.4968 GB, free: 24.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.3184, allocations: 4.62 MB / 0.5013 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.3186, allocations: 5.125 kB / 0.5014 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.319, allocations: 55.16 kB / 0.5014 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.3229, allocations: 1.255 MB / 0.5026 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.3232, allocations: 144.5 kB / 0.5028 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009745/0.3242, allocations: 406.3 kB / 0.5032 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.3243, allocations: 7.641 kB / 0.5032 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000693/0.325, allocations: 227.3 kB / 0.5034 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.3256, allocations: 160 kB / 0.5035 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.3256, allocations: 8.25 kB / 0.5035 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.328, allocations: 0.9407 MB / 0.5045 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3281, allocations: 46.33 kB / 0.5045 GB, free: 19.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3283, allocations: 89.66 kB / 0.5046 GB, free: 19.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.3305, allocations: 0.948 MB / 0.5055 GB, free: 19.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3305, allocations: 0.9375 kB / 0.5055 GB, free: 19.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3305, allocations: 0 / 0.5055 GB, free: 19.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3305, allocations: 1.625 kB / 0.5055 GB, free: 19.62 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001346/0.3319, allocations: 0.6183 MB / 0.5061 GB, free: 19.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3319, allocations: 10.47 kB / 0.5061 GB, free: 19.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.332, allocations: 56.3 kB / 0.5062 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004351/0.3363, allocations: 0.7245 MB / 0.5069 GB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3368, allocations: 201 kB / 0.5071 GB, free: 18.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.653e-05/0.3369, allocations: 232.3 kB / 0.5073 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/0.337, allocations: 28.94 kB / 0.5073 GB, free: 18.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008193/0.3378, allocations: 0.736 MB / 0.5081 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3378, allocations: 0 / 0.5081 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.3379, allocations: 16.12 kB / 0.5081 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.3379, allocations: 10.06 kB / 0.5081 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.3387, allocations: 0.5856 MB / 0.5086 GB, free: 17.97 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.3399, allocations: 1.428 MB / 0.51 GB, free: 16.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.3402, allocations: 154.7 kB / 0.5102 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.3402, allocations: 72.81 kB / 0.5103 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.3406, allocations: 379.6 kB / 0.5106 GB, free: 16.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3406, allocations: 41.28 kB / 0.5107 GB, free: 16.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.3406, allocations: 0 / 0.5107 GB, free: 16.36 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.0006848/0.3413, allocations: 328 kB / 0.511 GB, free: 16.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.3413, allocations: 58.72 kB / 0.511 GB, free: 16.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3414, allocations: 208.2 kB / 0.5112 GB, free: 16.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3414, allocations: 32.08 kB / 0.5113 GB, free: 16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3415, allocations: 194.3 kB / 0.5114 GB, free: 15.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3415, allocations: 66.39 kB / 0.5115 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.3416, allocations: 93.06 kB / 0.5116 GB, free: 15.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.3416, allocations: 327.5 kB / 0.5119 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.3417, allocations: 72.48 kB / 0.512 GB, free: 15.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3419, allocations: 257.5 kB / 0.5122 GB, free: 15.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.3421, allocations: 361.8 kB / 0.5126 GB, free: 14.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3421, allocations: 2.625 kB / 0.5126 GB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000389/0.3425, allocations: 398.6 kB / 0.513 GB, free: 14.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3425, allocations: 8.375 kB / 0.513 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3425, allocations: 8.844 kB / 0.513 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3425, allocations: 11.53 kB / 0.513 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.3428, allocations: 121.6 kB / 0.5131 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001956/0.343, allocations: 0.6065 MB / 0.5137 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.3431, allocations: 48.33 kB / 0.5137 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.3432, allocations: 43.33 kB / 0.5138 GB, free: 13.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.199e-05/0.3433, allocations: 143.3 kB / 0.5139 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.3433, allocations: 33.06 kB / 0.5139 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.3438, allocations: 430.2 kB / 0.5144 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3438, allocations: 2.344 kB / 0.5144 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3438, allocations: 0 / 0.5144 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3438, allocations: 2.812 kB / 0.5144 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.3443, allocations: 0.5168 MB / 0.5149 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3443, allocations: 2.219 kB / 0.5149 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3444, allocations: 58.73 kB / 0.5149 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3444, allocations: 3.062 kB / 0.5149 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3444, allocations: 15.67 kB / 0.5149 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001342/0.3446, allocations: 0.5917 MB / 0.5155 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3446, allocations: 3.938 kB / 0.5155 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3448, allocations: 289 kB / 0.5158 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.3448, allocations: 36.06 kB / 0.5158 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.3449, allocations: 10.11 kB / 0.5158 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.345, allocations: 15.94 kB / 0.5159 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.345, allocations: 24.91 kB / 0.5159 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.345, allocations: 22.95 kB / 0.5159 GB, free: 12.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.574e-05/0.3451, allocations: 138.5 kB / 0.516 GB, free: 12.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3451, allocations: 0 / 0.516 GB, free: 12.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005755/0.3457, allocations: 156 kB / 0.5162 GB, free: 12.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000622/0.3463, allocations: 0.9637 MB / 0.5171 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.3466, allocations: 226.7 kB / 0.5173 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3466, allocations: 0 / 0.5173 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.3467, allocations: 81.86 kB / 0.5174 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3471, allocations: 80.69 kB / 0.5175 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3494, allocations: 2.842 MB / 0.5203 GB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.354e-05/0.3495, allocations: 116.6 kB / 0.5204 GB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000433/0.3499, allocations: 383.6 kB / 0.5207 GB, free: 8.992 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3501, allocations: 99.34 kB / 0.5208 GB, free: 8.945 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3501, allocations: 0 / 0.5208 GB, free: 8.945 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3746, allocations: 8.579 MB / 0.5292 GB, free: 6.223 MB / 410.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.299, allocations: 8.391 kB / 0.5292 GB, free: 6.223 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_OMSimulator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_OMSimulator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_OMSimulator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_OMSimulator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa_OMSimulator_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_OMSimulator.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_fmpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_fmpy_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 10.445205153955612]