Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001088/0.001088, allocations: 200.3 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 226.5 MB / 243.4 MB, free: 8.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 100 kB / 295.5 MB, free: 6.824 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3338/0.3338, allocations: 44.81 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002954, allocations: 8 kB / 465.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3643, allocations: 62.96 MB / 0.516 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.008886/0.3732, allocations: 10.23 MB / 0.5259 GB, free: 29.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00898/0.3822, allocations: 10.79 MB / 0.5365 GB, free: 21.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.3825, allocations: 0 / 0.5365 GB, free: 21.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.3828, allocations: 52.8 kB / 0.5365 GB, free: 21.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008062/0.3909, allocations: 2.499 MB / 0.539 GB, free: 20.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.3913, allocations: 139.1 kB / 0.5391 GB, free: 20.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009508/0.4008, allocations: 7.407 MB / 0.5463 GB, free: 18.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.4009, allocations: 13.59 kB / 0.5464 GB, free: 18.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.4013, allocations: 136.6 kB / 0.5465 GB, free: 18.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01864/0.4199, allocations: 14.16 MB / 0.5603 GB, free: 11.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.4201, allocations: 4 kB / 0.5603 GB, free: 11.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005133/0.4252, allocations: 2.023 MB / 0.5623 GB, free: 9.785 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.4253, allocations: 47.75 kB / 0.5623 GB, free: 9.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.4256, allocations: 149.2 kB / 0.5625 GB, free: 9.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.4277, allocations: 1.052 MB / 0.5635 GB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4277, allocations: 0 / 0.5635 GB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4277, allocations: 3.938 kB / 0.5635 GB, free: 8.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4277, allocations: 0 / 0.5635 GB, free: 8.527 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.001749/0.4295, allocations: 0.8658 MB / 0.5644 GB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4296, allocations: 8.031 kB / 0.5644 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.4296, allocations: 66.73 kB / 0.5644 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.4301, allocations: 80.58 kB / 0.5645 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.4303, allocations: 244 kB / 0.5647 GB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4304, allocations: 16.94 kB / 0.5648 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.4304, allocations: 28.38 kB / 0.5648 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007574/0.4312, allocations: 481.4 kB / 0.5652 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4312, allocations: 4 kB / 0.5652 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.4312, allocations: 12 kB / 0.5653 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4312, allocations: 4 kB / 0.5653 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008199/0.4321, allocations: 0.6773 MB / 0.5659 GB, free: 5.93 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.005113/0.4372, allocations: 3.092 MB / 0.5689 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.4377, allocations: 220.1 kB / 0.5692 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.4378, allocations: 73.39 kB / 0.5692 GB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07764/0.5154, allocations: 30.62 MB / 0.5991 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000774/0.5163, allocations: 341.8 kB / 0.5994 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.557e-06/0.5163, allocations: 0 / 0.5994 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.003141/0.5194, allocations: 0.9686 MB / 0.6004 GB, free: 15.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002467/0.5197, allocations: 486.7 kB / 0.6009 GB, free: 15.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.5199, allocations: 155.1 kB / 0.601 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.52, allocations: 37.7 kB / 0.601 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5201, allocations: 167.9 kB / 0.6012 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.5202, allocations: 126.1 kB / 0.6013 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.5202, allocations: 8 kB / 0.6013 GB, free: 14.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5204, allocations: 334.8 kB / 0.6016 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.5205, allocations: 73.08 kB / 0.6017 GB, free: 14.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.5208, allocations: 321.9 kB / 0.602 GB, free: 14.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.5213, allocations: 443.1 kB / 0.6024 GB, free: 13.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5214, allocations: 3.938 kB / 0.6025 GB, free: 13.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007911/0.5222, allocations: 450.6 kB / 0.6029 GB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.5222, allocations: 12 kB / 0.6029 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.5222, allocations: 8 kB / 0.6029 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/0.5241, allocations: 306 kB / 0.6032 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.5244, allocations: 107.8 kB / 0.6033 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007493/0.5252, allocations: 1.219 MB / 0.6045 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.5254, allocations: 16 kB / 0.6045 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.5255, allocations: 35.92 kB / 0.6045 GB, free: 11.29 MB / 426.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.0001808/0.5257, allocations: 161.6 kB / 0.6047 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.5258, allocations: 27.72 kB / 0.6047 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.5273, allocations: 1.076 MB / 0.6058 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.5273, allocations: 7.938 kB / 0.6058 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5273, allocations: 0 / 0.6058 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5273, allocations: 7.984 kB / 0.6058 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.5289, allocations: 1.549 MB / 0.6073 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.529, allocations: 0 / 0.6073 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.5291, allocations: 43.91 kB / 0.6073 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.5303, allocations: 241.6 kB / 0.6076 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.5304, allocations: 15.98 kB / 0.6076 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006663/0.531, allocations: 1.266 MB / 0.6088 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.531, allocations: 0 / 0.6088 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.5317, allocations: 0.6009 MB / 0.6094 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.5319, allocations: 219.9 kB / 0.6096 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.532, allocations: 12 kB / 0.6096 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.5322, allocations: 19.92 kB / 0.6096 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.5323, allocations: 23.97 kB / 0.6097 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.5323, allocations: 16 kB / 0.6097 GB, free: 5.699 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003181/0.5327, allocations: 271.1 kB / 0.6099 GB, free: 5.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5327, allocations: 0 / 0.6099 GB, free: 5.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001802/0.5345, allocations: 451.6 kB / 0.6104 GB, free: 4.992 MB / 426.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.002702/0.5372, allocations: 1.682 MB / 0.612 GB, free: 3.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006074/0.5378, allocations: 363.7 kB / 0.6124 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5378, allocations: 0 / 0.6124 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.5381, allocations: 232 kB / 0.6126 GB, free: 2.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008095/0.539, allocations: 112.1 kB / 0.6127 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.323/1.862, allocations: 0.4914 GB / 1.104 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/1.862, allocations: 0.826 MB / 1.105 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/1.862, allocations: 162 kB / 1.105 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/1.862, allocations: 0 / 1.105 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.717/5.579, allocations: 14.94 MB / 1.12 GB, free: 134.7 MB / 0.5105 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches