Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002684/0.002684, allocations: 201.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 46.93 MB / 361.6 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003451/0.003451, allocations: 63.91 kB / 0.497 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3504, allocations: 66.03 MB / 0.5615 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01401/0.3644, allocations: 11.37 MB / 0.5726 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.3778, allocations: 11.87 MB / 0.5842 GB, free: 13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.378, allocations: 0 / 0.5842 GB, free: 13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.3784, allocations: 71.55 kB / 0.5842 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.3884, allocations: 3.138 MB / 0.5873 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.3889, allocations: 159.4 kB / 0.5874 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006172/0.395, allocations: 3.971 MB / 0.5913 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.3951, allocations: 16.56 kB / 0.5913 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.3953, allocations: 131.6 kB / 0.5915 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/0.406, allocations: 7.258 MB / 0.5986 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.4061, allocations: 8 kB / 0.5986 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0056/0.4117, allocations: 2.439 MB / 0.6009 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.4118, allocations: 43.77 kB / 0.601 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.4119, allocations: 127.4 kB / 0.6011 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004244/0.4162, allocations: 1.718 MB / 0.6028 GB, free: 9.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4162, allocations: 0 / 0.6028 GB, free: 9.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4162, allocations: 4 kB / 0.6028 GB, free: 9.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.4162, allocations: 0 / 0.6028 GB, free: 9.902 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.002399/0.4186, allocations: 0.9108 MB / 0.6037 GB, free: 8.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4186, allocations: 12.03 kB / 0.6037 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.964e-05/0.4187, allocations: 8.844 kB / 0.6037 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.664e-05/0.4187, allocations: 70.72 kB / 0.6038 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005788/0.4193, allocations: 76.73 kB / 0.6038 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.4197, allocations: 190.1 kB / 0.604 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.4197, allocations: 21.03 kB / 0.604 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.4197, allocations: 28.12 kB / 0.6041 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.4207, allocations: 494.5 kB / 0.6045 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4207, allocations: 0 / 0.6045 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.4208, allocations: 12 kB / 0.6046 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4208, allocations: 4 kB / 0.6046 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.4219, allocations: 0.7005 MB / 0.6052 GB, free: 7.293 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.006704/0.4286, allocations: 2.781 MB / 0.608 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.4293, allocations: 207.3 kB / 0.6082 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.4294, allocations: 69.39 kB / 0.6082 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08074/0.5101, allocations: 22.12 MB / 0.6298 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008529/0.511, allocations: 350.6 kB / 0.6302 GB, free: 13.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.926e-06/0.511, allocations: 0 / 0.6302 GB, free: 13.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002777/0.5138, allocations: 0.8803 MB / 0.631 GB, free: 12.65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002694/0.514, allocations: 479.1 kB / 0.6315 GB, free: 12.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.5142, allocations: 162.1 kB / 0.6316 GB, free: 11.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.5142, allocations: 33.7 kB / 0.6317 GB, free: 11.87 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.5144, allocations: 168.3 kB / 0.6318 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.5145, allocations: 134.9 kB / 0.6319 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.5146, allocations: 86.14 kB / 0.632 GB, free: 11.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5148, allocations: 330.8 kB / 0.6323 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.5149, allocations: 68.95 kB / 0.6324 GB, free: 11.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.5153, allocations: 310.2 kB / 0.6327 GB, free: 10.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.5158, allocations: 440 kB / 0.6331 GB, free: 10.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5158, allocations: 4 kB / 0.6331 GB, free: 10.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007527/0.5166, allocations: 405.6 kB / 0.6335 GB, free: 9.707 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5166, allocations: 8 kB / 0.6335 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.5166, allocations: 8 kB / 0.6335 GB, free: 9.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.5166, allocations: 12 kB / 0.6335 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.5186, allocations: 347.7 kB / 0.6339 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007693/0.5193, allocations: 1.188 MB / 0.635 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.5195, allocations: 23.89 kB / 0.6351 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.5196, allocations: 36 kB / 0.6351 GB, free: 8.047 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 (55): * Single equations (assignments): 53 * 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 {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.5198, allocations: 153.6 kB / 0.6352 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.5199, allocations: 31.86 kB / 0.6353 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.5212, allocations: 0.9735 MB / 0.6362 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.5212, allocations: 4 kB / 0.6362 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5212, allocations: 4 kB / 0.6362 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.5212, allocations: 7.984 kB / 0.6362 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.5228, allocations: 1.12 MB / 0.6373 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5228, allocations: 7.922 kB / 0.6373 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.5239, allocations: 143.9 kB / 0.6375 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.5239, allocations: 7.984 kB / 0.6375 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.524, allocations: 8 kB / 0.6375 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004/0.5244, allocations: 0.5898 MB / 0.6381 GB, free: 4.879 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5244, allocations: 4 kB / 0.6381 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.5251, allocations: 0.5347 MB / 0.6386 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.5252, allocations: 27.73 kB / 0.6386 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.5253, allocations: 55.5 kB / 0.6387 GB, free: 4.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.5255, allocations: 15.97 kB / 0.6387 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.5256, allocations: 31.91 kB / 0.6387 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.5256, allocations: 11.98 kB / 0.6387 GB, free: 4.156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.526, allocations: 271.1 kB / 0.639 GB, free: 3.891 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.526, allocations: 0 / 0.639 GB, free: 3.891 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001603/0.5276, allocations: 470.5 kB / 0.6394 GB, free: 3.43 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002663/0.5302, allocations: 1.668 MB / 0.6411 GB, free: 1.699 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.5318, allocations: 389.8 kB / 0.6414 GB, free: 1.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.5318, allocations: 0 / 0.6414 GB, free: 1.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007889/0.5326, allocations: 205.4 kB / 0.6416 GB, free: 1.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/0.5334, allocations: 125.9 kB / 0.6417 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.264/1.797, allocations: 0.54 GB / 1.182 GB, free: 45.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/1.798, allocations: 0.8216 MB / 1.183 GB, free: 45.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003769/1.798, allocations: 168.6 kB / 1.183 GB, free: 44.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/1.798, allocations: 160.6 kB / 1.183 GB, free: 44.76 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/1.798, allocations: 3.75 kB / 1.183 GB, free: 44.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/1.839, allocations: 20.62 MB / 1.203 GB, free: 24.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/15.67, allocations: 14.78 kB / 1.203 GB, free: 24.38 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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: 25.58368010702543]