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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001632/0.001632, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 72.2 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3933, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01724/0.4106, allocations: 11.28 MB / 0.5416 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.428, allocations: 11.78 MB / 0.5531 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.4284, allocations: 0 / 0.5531 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.4289, allocations: 75.55 kB / 0.5531 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.4405, allocations: 3.122 MB / 0.5562 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.4409, allocations: 154.4 kB / 0.5563 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006242/0.4472, allocations: 3.885 MB / 0.5601 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.4473, allocations: 24.34 kB / 0.5602 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.4477, allocations: 139.5 kB / 0.5603 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.4579, allocations: 7.129 MB / 0.5673 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.697e-05/0.458, allocations: 8 kB / 0.5673 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005385/0.4634, allocations: 2.111 MB / 0.5693 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4636, allocations: 39.83 kB / 0.5694 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.4638, allocations: 127.4 kB / 0.5695 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.4686, allocations: 1.536 MB / 0.571 GB, free: 8.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4686, allocations: 0 / 0.571 GB, free: 8.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.4686, allocations: 4 kB / 0.571 GB, free: 8.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.4686, allocations: 7.938 kB / 0.571 GB, free: 8.27 MB / 430.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.002697/0.4713, allocations: 0.9165 MB / 0.5719 GB, free: 7.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4714, allocations: 8.031 kB / 0.5719 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.722e-05/0.4715, allocations: 70.72 kB / 0.572 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/0.4721, allocations: 72.69 kB / 0.572 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.4725, allocations: 255.9 kB / 0.5723 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.4726, allocations: 20.94 kB / 0.5723 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.4726, allocations: 28.31 kB / 0.5723 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.4736, allocations: 497.3 kB / 0.5728 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4736, allocations: 0 / 0.5728 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.4737, allocations: 12 kB / 0.5728 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.4737, allocations: 8 kB / 0.5728 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4748, allocations: 0.6773 MB / 0.5735 GB, free: 5.594 MB / 430.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.006637/0.4815, allocations: 3.103 MB / 0.5765 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.4821, allocations: 220.2 kB / 0.5767 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.4823, allocations: 69.39 kB / 0.5768 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07982/0.5621, allocations: 30.76 MB / 0.6068 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.5631, allocations: 354.5 kB / 0.6072 GB, free: 456 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 6.282e-06/0.5632, allocations: 0 / 0.6072 GB, free: 456 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.00349/0.5667, allocations: 0.9733 MB / 0.6081 GB, free: 15.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002583/0.5669, allocations: 479 kB / 0.6086 GB, free: 14.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.5672, allocations: 169.2 kB / 0.6087 GB, free: 14.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.5672, allocations: 33.7 kB / 0.6088 GB, free: 14.67 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5674, allocations: 164 kB / 0.6089 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.5676, allocations: 126.1 kB / 0.609 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5677, allocations: 94.14 kB / 0.6091 GB, free: 14.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.5679, allocations: 330.8 kB / 0.6094 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.5681, allocations: 73.09 kB / 0.6095 GB, free: 13.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.5685, allocations: 322.1 kB / 0.6098 GB, free: 13.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/0.5691, allocations: 456 kB / 0.6103 GB, free: 12.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.5691, allocations: 0 / 0.6103 GB, free: 12.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000865/0.57, allocations: 439.2 kB / 0.6107 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.57, allocations: 8.094 kB / 0.6107 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.5701, allocations: 11.94 kB / 0.6107 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.5721, allocations: 321.5 kB / 0.611 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.5725, allocations: 111.7 kB / 0.6111 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008365/0.5733, allocations: 1.211 MB / 0.6123 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.5736, allocations: 27.97 kB / 0.6123 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.5737, allocations: 35.92 kB / 0.6124 GB, free: 10.68 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.0001991/0.5739, allocations: 165.5 kB / 0.6125 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.574, allocations: 27.8 kB / 0.6125 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.5754, allocations: 1.034 MB / 0.6135 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5754, allocations: 15.88 kB / 0.6136 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.5754, allocations: 0 / 0.6136 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5755, allocations: 7.984 kB / 0.6136 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.5773, allocations: 1.552 MB / 0.6151 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.5773, allocations: 4 kB / 0.6151 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.5775, allocations: 39.91 kB / 0.6151 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.5788, allocations: 249.5 kB / 0.6154 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.5788, allocations: 8 kB / 0.6154 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008241/0.5796, allocations: 1.266 MB / 0.6166 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5797, allocations: 8.016 kB / 0.6166 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/0.5805, allocations: 0.6025 MB / 0.6172 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5806, allocations: 108.7 kB / 0.6173 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.5807, allocations: 43.44 kB / 0.6174 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.581, allocations: 19.98 kB / 0.6174 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.581, allocations: 23.91 kB / 0.6174 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.5811, allocations: 12 kB / 0.6174 GB, free: 5.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003376/0.5814, allocations: 275.1 kB / 0.6177 GB, free: 4.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5814, allocations: 0 / 0.6177 GB, free: 4.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001665/0.5831, allocations: 447.6 kB / 0.6181 GB, free: 4.473 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.002771/0.5859, allocations: 1.69 MB / 0.6197 GB, free: 2.715 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007798/0.5867, allocations: 372.6 kB / 0.6201 GB, free: 2.348 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.5867, allocations: 4.25 kB / 0.6201 GB, free: 2.344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.587, allocations: 221.5 kB / 0.6203 GB, free: 2.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.5879, allocations: 133.7 kB / 0.6204 GB, free: 1.988 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.171/1.759, allocations: 0.4949 GB / 1.115 GB, free: 60.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/1.759, allocations: 0.8274 MB / 1.116 GB, free: 59.83 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003527/1.759, allocations: 168.3 kB / 1.116 GB, free: 59.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.76, allocations: 163.4 kB / 1.116 GB, free: 59.52 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/1.76, allocations: 0 / 1.116 GB, free: 59.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/1.8, allocations: 20.21 MB / 1.136 GB, free: 39.56 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/14.27, allocations: 20.31 kB / 1.136 GB, free: 39.55 MB / 0.6075 GB (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 --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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches