Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001293/0.001293, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 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.001505/0.001505, allocations: 221.6 kB / 24.53 MB, free: 4.004 MB / 14.72 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 1.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2166/0.2166, allocations: 46.92 MB / 361.6 MB, free: 4.191 MB / 286.1 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.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 75.89 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2945, allocations: 66.09 MB / 0.5615 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01358/0.3081, allocations: 11.38 MB / 0.5727 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.3216, allocations: 11.86 MB / 0.5842 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3217, allocations: 3.938 kB / 0.5842 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.3221, allocations: 75.48 kB / 0.5843 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008633/0.3307, allocations: 3.134 MB / 0.5874 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.3311, allocations: 158.2 kB / 0.5875 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005888/0.337, allocations: 3.963 MB / 0.5914 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.3371, allocations: 12.58 kB / 0.5914 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.3373, allocations: 151.5 kB / 0.5916 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.3476, allocations: 7.25 MB / 0.5986 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.3477, allocations: 8 kB / 0.5986 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004719/0.3524, allocations: 2.154 MB / 0.6007 GB, free: 12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.753e-05/0.3525, allocations: 43.83 kB / 0.6008 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3526, allocations: 127.4 kB / 0.6009 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.3555, allocations: 1.535 MB / 0.6024 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3555, allocations: 0 / 0.6024 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3555, allocations: 4 kB / 0.6024 GB, free: 10.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3555, allocations: 3.938 kB / 0.6024 GB, free: 10.28 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002119/0.3576, allocations: 0.8739 MB / 0.6033 GB, free: 9.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3577, allocations: 8.031 kB / 0.6033 GB, free: 9.367 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.603e-05/0.3577, allocations: 12.84 kB / 0.6033 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.86e-05/0.3578, allocations: 62.73 kB / 0.6033 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.3584, allocations: 84.72 kB / 0.6034 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.3587, allocations: 182.2 kB / 0.6036 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.3587, allocations: 17.03 kB / 0.6036 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.3588, allocations: 36.06 kB / 0.6037 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3598, allocations: 490.5 kB / 0.6041 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3598, allocations: 0 / 0.6041 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.3598, allocations: 12 kB / 0.6041 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.3599, allocations: 8 kB / 0.6041 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.361, allocations: 0.6966 MB / 0.6048 GB, free: 7.715 MB / 446.1 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.006629/0.3676, allocations: 2.773 MB / 0.6075 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.3683, allocations: 211.3 kB / 0.6077 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3684, allocations: 65.39 kB / 0.6078 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07721/0.4456, allocations: 21.22 MB / 0.6285 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007842/0.4464, allocations: 358.5 kB / 0.6289 GB, free: 14.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.863e-06/0.4464, allocations: 0 / 0.6289 GB, free: 14.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.003047/0.4495, allocations: 0.9922 MB / 0.6298 GB, free: 13.85 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002898/0.4498, allocations: 486.5 kB / 0.6303 GB, free: 13.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.4499, allocations: 154.3 kB / 0.6304 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.4499, allocations: 37.95 kB / 0.6305 GB, free: 13.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.45, allocations: 168.3 kB / 0.6306 GB, free: 12.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.4502, allocations: 142.8 kB / 0.6308 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4503, allocations: 90.14 kB / 0.6309 GB, free: 12.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4504, allocations: 330.8 kB / 0.6312 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4506, allocations: 72.95 kB / 0.6312 GB, free: 12.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.4509, allocations: 318.1 kB / 0.6315 GB, free: 11.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.4515, allocations: 460 kB / 0.632 GB, free: 11.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4515, allocations: 4 kB / 0.632 GB, free: 11.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007588/0.4522, allocations: 439.2 kB / 0.6324 GB, free: 10.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4523, allocations: 12.22 kB / 0.6324 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.4523, allocations: 8 kB / 0.6324 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.4543, allocations: 321.3 kB / 0.6327 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.4546, allocations: 115.8 kB / 0.6328 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007547/0.4554, allocations: 1.211 MB / 0.634 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.4556, allocations: 27.89 kB / 0.6341 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.4556, allocations: 32.19 kB / 0.6341 GB, free: 9.051 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.4558, allocations: 166.8 kB / 0.6342 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.4559, allocations: 23.91 kB / 0.6343 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.4573, allocations: 1.079 MB / 0.6353 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.4573, allocations: 19.92 kB / 0.6353 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4573, allocations: 4 kB / 0.6353 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4573, allocations: 96 / 0.6353 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.4588, allocations: 1.254 MB / 0.6366 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4588, allocations: 4.094 kB / 0.6366 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.459, allocations: 47.91 kB / 0.6366 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.4602, allocations: 241.4 kB / 0.6368 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.4602, allocations: 12 kB / 0.6369 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008095/0.461, allocations: 1.27 MB / 0.6381 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.461, allocations: 8.219 kB / 0.6381 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007961/0.4618, allocations: 0.6183 MB / 0.6387 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4619, allocations: 35.67 kB / 0.6387 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.4619, allocations: 47.61 kB / 0.6388 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.4622, allocations: 16 kB / 0.6388 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.4622, allocations: 31.89 kB / 0.6388 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.4623, allocations: 12 kB / 0.6388 GB, free: 3.953 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.4626, allocations: 279.1 kB / 0.6391 GB, free: 3.676 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4626, allocations: 0 / 0.6391 GB, free: 3.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001488/0.4641, allocations: 446.6 kB / 0.6395 GB, free: 3.238 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002288/0.4664, allocations: 1.708 MB / 0.6412 GB, free: 1.461 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.467, allocations: 363.9 kB / 0.6416 GB, free: 1.102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.467, allocations: 0.75 kB / 0.6416 GB, free: 1.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.4674, allocations: 216 kB / 0.6418 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.4682, allocations: 122.5 kB / 0.6419 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.1/1.568, allocations: 0.495 GB / 1.137 GB, free: 90.85 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/1.568, allocations: 0.8342 MB / 1.138 GB, free: 90 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003472/1.569, allocations: 158.2 kB / 1.138 GB, free: 89.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/1.569, allocations: 167.4 kB / 1.138 GB, free: 89.71 MB / 0.6387 GB Notification: Performance of SimCode: time 1.202e-06/1.569, allocations: 0 / 1.138 GB, free: 89.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/1.606, allocations: 20.47 MB / 1.158 GB, free: 69.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.91, allocations: 12 kB / 1.158 GB, free: 69.44 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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: 22.785677407984622]