Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 222.9 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008943/0.0008942, allocations: 88.8 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3182/0.3182, allocations: 43.56 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 12 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01194/0.1276, allocations: 10.22 MB / 0.4894 GB, free: 296 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2061/0.3337, allocations: 13.08 MB / 0.5022 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.334, allocations: 5.312 kB / 0.5022 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3343, allocations: 54.14 kB / 0.5022 GB, free: 34.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008406/0.3427, allocations: 2.492 MB / 0.5047 GB, free: 32.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.3431, allocations: 140.2 kB / 0.5048 GB, free: 32.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008427/0.3515, allocations: 7.408 MB / 0.512 GB, free: 31.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.042e-05/0.3516, allocations: 21.67 kB / 0.5121 GB, free: 31.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.3518, allocations: 138.9 kB / 0.5122 GB, free: 31.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01666/0.3685, allocations: 14.16 MB / 0.526 GB, free: 29.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3686, allocations: 6.938 kB / 0.526 GB, free: 29.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006586/0.3752, allocations: 2.018 MB / 0.528 GB, free: 29.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3754, allocations: 43.59 kB / 0.528 GB, free: 29.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.3757, allocations: 147.6 kB / 0.5282 GB, free: 29.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.378, allocations: 1.059 MB / 0.5292 GB, free: 28.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3781, allocations: 1.375 kB / 0.5292 GB, free: 28.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3781, allocations: 0 / 0.5292 GB, free: 28.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3781, allocations: 0 / 0.5292 GB, free: 28.7 MB / 378.7 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.001929/0.38, allocations: 0.8496 MB / 0.53 GB, free: 28.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3801, allocations: 9.625 kB / 0.53 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.3801, allocations: 67.45 kB / 0.5301 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005147/0.3807, allocations: 84.02 kB / 0.5302 GB, free: 28.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3809, allocations: 242.9 kB / 0.5304 GB, free: 27.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.381, allocations: 20.47 kB / 0.5304 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.381, allocations: 24.97 kB / 0.5305 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008406/0.3818, allocations: 485.8 kB / 0.5309 GB, free: 27.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3819, allocations: 3.375 kB / 0.5309 GB, free: 27.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.3819, allocations: 11.22 kB / 0.5309 GB, free: 27.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3819, allocations: 12.34 kB / 0.531 GB, free: 27.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/0.3829, allocations: 0.679 MB / 0.5316 GB, free: 27.39 MB / 378.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.00579/0.3887, allocations: 3.092 MB / 0.5346 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.3893, allocations: 218.2 kB / 0.5348 GB, free: 25.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.3895, allocations: 74.55 kB / 0.5349 GB, free: 25.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07374/0.4632, allocations: 30.61 MB / 0.5648 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007287/0.464, allocations: 342.4 kB / 0.5651 GB, free: 12.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.464, allocations: 0 / 0.5651 GB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.00282/0.4668, allocations: 0.9626 MB / 0.5661 GB, free: 11.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/0.467, allocations: 490.7 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4672, allocations: 154.3 kB / 0.5667 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.4672, allocations: 33.7 kB / 0.5667 GB, free: 10.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4674, allocations: 160 kB / 0.5669 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/0.4675, allocations: 134.1 kB / 0.567 GB, free: 10.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.4675, allocations: 12 kB / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4676, allocations: 338.8 kB / 0.5673 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4678, allocations: 69.03 kB / 0.5674 GB, free: 9.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.468, allocations: 320.3 kB / 0.5677 GB, free: 9.324 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.4685, allocations: 442.3 kB / 0.5681 GB, free: 8.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4685, allocations: 4 kB / 0.5681 GB, free: 8.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006874/0.4692, allocations: 442.6 kB / 0.5686 GB, free: 8.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4692, allocations: 8 kB / 0.5686 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4692, allocations: 8 kB / 0.5686 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.471, allocations: 306.7 kB / 0.5689 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.4713, allocations: 107.8 kB / 0.569 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006358/0.472, allocations: 1.215 MB / 0.5702 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.4722, allocations: 27.03 kB / 0.5702 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.4723, allocations: 31.98 kB / 0.5702 GB, free: 6.586 MB / 394.7 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.0001517/0.4724, allocations: 165.5 kB / 0.5704 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.4725, allocations: 31.72 kB / 0.5704 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.4739, allocations: 1.07 MB / 0.5714 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.4739, allocations: 15.98 kB / 0.5715 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4739, allocations: 3.938 kB / 0.5715 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4739, allocations: 4 kB / 0.5715 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.4755, allocations: 1.545 MB / 0.573 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.4755, allocations: 7.938 kB / 0.573 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.4757, allocations: 40.02 kB / 0.573 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.4768, allocations: 249.3 kB / 0.5733 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.4769, allocations: 9.938 kB / 0.5733 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006845/0.4776, allocations: 1.273 MB / 0.5745 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.4776, allocations: 4 kB / 0.5745 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.4782, allocations: 0.5874 MB / 0.5751 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.4784, allocations: 220 kB / 0.5753 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.4785, allocations: 15.94 kB / 0.5753 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.4787, allocations: 19.89 kB / 0.5753 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.4788, allocations: 19.98 kB / 0.5754 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.4788, allocations: 15.98 kB / 0.5754 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.4791, allocations: 267.1 kB / 0.5756 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4791, allocations: 4 kB / 0.5756 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001533/0.4806, allocations: 447.6 kB / 0.5761 GB, free: 300 kB / 394.7 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.002787/0.4834, allocations: 1.685 MB / 0.5777 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.4841, allocations: 364.7 kB / 0.578 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4841, allocations: 0 / 0.578 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4844, allocations: 232.2 kB / 0.5783 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.4853, allocations: 101.8 kB / 0.5784 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.156/1.641, allocations: 0.4914 GB / 1.07 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/1.641, allocations: 0.8252 MB / 1.071 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/1.641, allocations: 161.9 kB / 1.071 GB, free: 132.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/1.641, allocations: 0 / 1.071 GB, free: 132.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.712/5.353, allocations: 14.95 MB / 1.085 GB, free: 125.1 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches