Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.0009226/0.0009226, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.001338/0.001338, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8163/0.8163, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1367/0.1367, allocations: 32.37 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] 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.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_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.866e-05, allocations: 6.219 kB / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.009075/0.009104, allocations: 10.12 MB / 417 MB, free: 8.004 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009736/0.01884, allocations: 12.57 MB / 429.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.01899, allocations: 0 / 429.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.01929, allocations: 67.52 kB / 429.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00732/0.02661, allocations: 3.181 MB / 432.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.02695, allocations: 155.7 kB / 433 MB, free: 7.973 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.03083, allocations: 4.002 MB / 437 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.755e-05/0.0309, allocations: 16.59 kB / 437 MB, free: 3.949 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.03112, allocations: 195.5 kB / 437.2 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006086/0.0372, allocations: 7.289 MB / 444.5 MB, free: 12.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.03725, allocations: 11.94 kB / 444.5 MB, free: 12.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.04106, allocations: 2.021 MB / 446.5 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.04115, allocations: 47.77 kB / 446.6 MB, free: 10.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.04128, allocations: 95.75 kB / 446.7 MB, free: 10.29 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003607/0.04489, allocations: 1.781 MB / 448.4 MB, free: 8.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.04489, allocations: 4 kB / 448.4 MB, free: 8.496 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.0449, allocations: 0 / 448.4 MB, free: 8.496 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.0449, allocations: 7.938 kB / 448.4 MB, free: 8.488 MB / 426.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.001824/0.04673, allocations: 0.8622 MB / 449.3 MB, free: 7.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.04679, allocations: 8.031 kB / 449.3 MB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.747e-05/0.04686, allocations: 62.72 kB / 449.4 MB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.04738, allocations: 84.73 kB / 449.5 MB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.0479, allocations: 197.3 kB / 449.7 MB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.04792, allocations: 17.03 kB / 449.7 MB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.04795, allocations: 28.38 kB / 449.7 MB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.0488, allocations: 0.5298 MB / 450.2 MB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.04881, allocations: 4.172 kB / 450.2 MB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.04884, allocations: 15.94 kB / 450.2 MB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.04885, allocations: 8 kB / 450.3 MB, free: 6.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.04955, allocations: 0.681 MB / 450.9 MB, free: 5.883 MB / 426.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.004238/0.05379, allocations: 2.859 MB / 453.8 MB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.05416, allocations: 166.6 kB / 454 MB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.05422, allocations: 52.84 kB / 454 MB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.06621, allocations: 7.677 MB / 461.7 MB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000476/0.06669, allocations: 317.7 kB / 462 MB, free: 10.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.06669, allocations: 0 / 462 MB, free: 10.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008717/0.06756, allocations: 442.7 kB / 462.4 MB, free: 10.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.06771, allocations: 478.6 kB / 462.9 MB, free: 9.629 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.06786, allocations: 194.6 kB / 463.1 MB, free: 9.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.06788, allocations: 33.7 kB / 463.1 MB, free: 9.391 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.06796, allocations: 188.2 kB / 463.3 MB, free: 9.203 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.06802, allocations: 111 kB / 463.4 MB, free: 9.094 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.0681, allocations: 94.12 kB / 463.5 MB, free: 8.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.0682, allocations: 330.8 kB / 463.8 MB, free: 8.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.06829, allocations: 64.95 kB / 463.9 MB, free: 8.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.0685, allocations: 315.4 kB / 464.2 MB, free: 8.168 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.06883, allocations: 421.4 kB / 464.6 MB, free: 7.637 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.06883, allocations: 4 kB / 464.6 MB, free: 7.633 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004409/0.06927, allocations: 393.2 kB / 465 MB, free: 7.242 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.06929, allocations: 15.94 kB / 465 MB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.0693, allocations: 8 kB / 465 MB, free: 7.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.06932, allocations: 15.94 kB / 465 MB, free: 7.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.06952, allocations: 115.8 kB / 465.1 MB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.06954, allocations: 16.5 kB / 465.2 MB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.0697, allocations: 47.62 kB / 465.2 MB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.06973, allocations: 39.98 kB / 465.3 MB, free: 6.988 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.06984, allocations: 153.6 kB / 465.4 MB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.0699, allocations: 31.88 kB / 465.4 MB, free: 6.797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/0.07058, allocations: 0.837 MB / 466.3 MB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.07059, allocations: 11.98 kB / 466.3 MB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.07059, allocations: 0 / 466.3 MB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.0706, allocations: 4 kB / 466.3 MB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009664/0.07156, allocations: 0.9014 MB / 467.2 MB, free: 4.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.07157, allocations: 4.312 kB / 467.2 MB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.07163, allocations: 35.92 kB / 467.2 MB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.07163, allocations: 4 kB / 467.2 MB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.07165, allocations: 11.98 kB / 467.2 MB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.07165, allocations: 11.88 kB / 467.3 MB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.07165, allocations: 0 / 467.3 MB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.07192, allocations: 371.7 kB / 467.6 MB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.07195, allocations: 23.84 kB / 467.6 MB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.07199, allocations: 39.62 kB / 467.7 MB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.07211, allocations: 19.92 kB / 467.7 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.07213, allocations: 23.97 kB / 467.7 MB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.07214, allocations: 4 kB / 467.7 MB, free: 4.355 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.07235, allocations: 298.8 kB / 468 MB, free: 4.062 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07235, allocations: 0 / 468 MB, free: 4.062 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009872/0.07334, allocations: 434.5 kB / 468.4 MB, free: 3.637 MB / 442.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/0.0749, allocations: 1.488 MB / 469.9 MB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.07525, allocations: 221.5 kB / 470.1 MB, free: 1.879 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.07525, allocations: 4.125 kB / 470.1 MB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.07532, allocations: 79.78 kB / 470.2 MB, free: 1.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.0758, allocations: 114.7 kB / 470.3 MB, free: 1.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.029/1.104, allocations: 0.582 GB / 1.041 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/1.104, allocations: 203.5 kB / 1.042 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003587/1.105, allocations: 166.5 kB / 1.042 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/1.105, allocations: 148 kB / 1.042 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/1.105, allocations: 0 / 1.042 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/1.141, allocations: 19.58 MB / 1.061 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/8.113, allocations: 1.375 kB / 1.061 GB, free: 152.3 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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: 11.32516775187105]