Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009617/0.0009618, allocations: 176.1 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 222.7 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3753/0.3753, allocations: 43.55 MB / 314.6 MB, free: 9.051 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005169, allocations: 16 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1392, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01269/0.1519, allocations: 10.2 MB / 453.1 MB, free: 2.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2775/0.4294, allocations: 13.09 MB / 466.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.4298, allocations: 4 kB / 466.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.4301, allocations: 56.47 kB / 466.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.4403, allocations: 2.44 MB / 468.7 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.4408, allocations: 145.4 kB / 468.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008924/0.4497, allocations: 7.41 MB / 476.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.4498, allocations: 20.75 kB / 476.2 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.45, allocations: 134.3 kB / 476.4 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01943/0.4694, allocations: 14.16 MB / 490.5 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.4696, allocations: 7.156 kB / 490.5 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007778/0.4774, allocations: 1.936 MB / 492.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.4775, allocations: 48.27 kB / 492.5 MB, free: 33.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.4777, allocations: 65.58 kB / 492.6 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.4799, allocations: 1.024 MB / 493.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4799, allocations: 1.469 kB / 493.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4799, allocations: 3.938 kB / 493.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.48, allocations: 0 / 493.6 MB, free: 33.43 MB / 382.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.002026/0.482, allocations: 0.8648 MB / 494.5 MB, free: 32.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4821, allocations: 13.27 kB / 494.5 MB, free: 32.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/0.4821, allocations: 67.72 kB / 494.6 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.4827, allocations: 81.02 kB / 494.6 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.4829, allocations: 241.5 kB / 494.9 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.483, allocations: 19.75 kB / 494.9 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.483, allocations: 24.78 kB / 494.9 MB, free: 32.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.484, allocations: 487.8 kB / 495.4 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.484, allocations: 1.281 kB / 495.4 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.4841, allocations: 15.44 kB / 495.4 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4841, allocations: 7.031 kB / 495.4 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4853, allocations: 0.6786 MB / 496.1 MB, free: 32.11 MB / 382.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.005951/0.4912, allocations: 3.089 MB / 499.2 MB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.4918, allocations: 213.7 kB / 499.4 MB, free: 30.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4919, allocations: 78.88 kB / 499.5 MB, free: 30.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06332/0.5552, allocations: 30.61 MB / 0.5177 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/0.5559, allocations: 345.4 kB / 0.518 GB, free: 1.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.995e-06/0.5559, allocations: 0.8906 kB / 0.518 GB, free: 1.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002722/0.5587, allocations: 0.9704 MB / 0.5189 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.5588, allocations: 475.2 kB / 0.5194 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.559, allocations: 158.3 kB / 0.5195 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.559, allocations: 37.7 kB / 0.5196 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.5591, allocations: 156 kB / 0.5197 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/0.5592, allocations: 129.8 kB / 0.5199 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.5593, allocations: 12 kB / 0.5199 GB, free: 15.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5594, allocations: 334.8 kB / 0.5202 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5596, allocations: 73.08 kB / 0.5203 GB, free: 15.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.5598, allocations: 313.3 kB / 0.5206 GB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.56, allocations: 127.8 kB / 0.5207 GB, free: 14.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.56, allocations: 4 kB / 0.5207 GB, free: 14.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006711/0.5607, allocations: 443.2 kB / 0.5211 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5608, allocations: 8 kB / 0.5211 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5608, allocations: 11.94 kB / 0.5211 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.5625, allocations: 304.2 kB / 0.5214 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.5628, allocations: 104.3 kB / 0.5215 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007168/0.5635, allocations: 1.211 MB / 0.5227 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.5638, allocations: 23.91 kB / 0.5227 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.5639, allocations: 36.17 kB / 0.5228 GB, free: 12.3 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.5641, allocations: 157.6 kB / 0.5229 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.5641, allocations: 37.83 kB / 0.5229 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.5656, allocations: 1.07 MB / 0.524 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.5656, allocations: 8 kB / 0.524 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.5657, allocations: 4.219 kB / 0.524 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5657, allocations: 11.98 kB / 0.524 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.5674, allocations: 1.544 MB / 0.5255 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.5674, allocations: 4 kB / 0.5255 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.5676, allocations: 43.91 kB / 0.5256 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.5687, allocations: 250.2 kB / 0.5258 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.5688, allocations: 11.98 kB / 0.5258 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000867/0.5696, allocations: 1.262 MB / 0.527 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5697, allocations: 4 kB / 0.527 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.5703, allocations: 0.6003 MB / 0.5276 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.5706, allocations: 223.9 kB / 0.5278 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.5706, allocations: 8 kB / 0.5279 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.5709, allocations: 15.98 kB / 0.5279 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.5709, allocations: 35.86 kB / 0.5279 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.571, allocations: 12 kB / 0.5279 GB, free: 6.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000303/0.5713, allocations: 267.1 kB / 0.5282 GB, free: 6.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5713, allocations: 4.094 kB / 0.5282 GB, free: 6.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001916/0.5732, allocations: 443.6 kB / 0.5286 GB, free: 6.031 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00256/0.5758, allocations: 1.687 MB / 0.5302 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.5765, allocations: 360.6 kB / 0.5306 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5765, allocations: 4.625 kB / 0.5306 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.5768, allocations: 224 kB / 0.5308 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/0.5775, allocations: 107.2 kB / 0.5309 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.262/1.839, allocations: 0.4913 GB / 1.022 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/1.839, allocations: 0.8304 MB / 1.023 GB, free: 140.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004171/1.84, allocations: 165.5 kB / 1.023 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/1.84, allocations: 155.4 kB / 1.023 GB, free: 140.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/1.84, allocations: 0 / 1.023 GB, free: 140.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/1.875, allocations: 18.93 MB / 1.042 GB, free: 130.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.875, allocations: 242.4 kB / 1.042 GB, free: 130.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/4.326, allocations: 1.875 kB / 1.042 GB, free: 130.6 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat