Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 220.2 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.92 MB / 361.6 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 75.89 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3154, allocations: 66.08 MB / 0.5615 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01276/0.3281, allocations: 11.37 MB / 0.5726 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.341, allocations: 11.87 MB / 0.5842 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.3411, allocations: 3.938 kB / 0.5842 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.3414, allocations: 67.56 kB / 0.5843 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008085/0.3495, allocations: 3.145 MB / 0.5874 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.3499, allocations: 151 kB / 0.5875 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005932/0.3558, allocations: 3.975 MB / 0.5914 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.3559, allocations: 12.58 kB / 0.5914 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.3561, allocations: 143.5 kB / 0.5915 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009996/0.3661, allocations: 7.254 MB / 0.5986 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.496e-05/0.3662, allocations: 8 kB / 0.5986 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004759/0.3709, allocations: 2.177 MB / 0.6008 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.371, allocations: 47.75 kB / 0.6008 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.3712, allocations: 123.5 kB / 0.6009 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.3741, allocations: 1.547 MB / 0.6024 GB, free: 10.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3741, allocations: 3.984 kB / 0.6024 GB, free: 10.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3741, allocations: 4 kB / 0.6024 GB, free: 10.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3741, allocations: 0 / 0.6024 GB, free: 10.22 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.002052/0.3761, allocations: 0.8661 MB / 0.6033 GB, free: 9.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3762, allocations: 8.031 kB / 0.6033 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.129e-05/0.3762, allocations: 12.84 kB / 0.6033 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.3763, allocations: 66.72 kB / 0.6034 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005529/0.3768, allocations: 76.73 kB / 0.6035 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3771, allocations: 190.2 kB / 0.6036 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.3771, allocations: 17.03 kB / 0.6036 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.3772, allocations: 32.12 kB / 0.6037 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.3781, allocations: 490.5 kB / 0.6041 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3781, allocations: 0 / 0.6041 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.3782, allocations: 12 kB / 0.6042 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3782, allocations: 8 kB / 0.6042 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.3793, allocations: 0.6966 MB / 0.6048 GB, free: 7.66 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.006629/0.3859, allocations: 3.064 MB / 0.6078 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.3864, allocations: 159.1 kB / 0.608 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.002e-05/0.3865, allocations: 57.53 kB / 0.608 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02439/0.4109, allocations: 7.679 MB / 0.6155 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006804/0.4116, allocations: 318 kB / 0.6158 GB, free: 12.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.4116, allocations: 3.938 kB / 0.6159 GB, free: 12.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001338/0.4129, allocations: 437.7 kB / 0.6163 GB, free: 11.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/0.4132, allocations: 475.7 kB / 0.6167 GB, free: 11.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.4133, allocations: 198 kB / 0.6169 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.4134, allocations: 37.64 kB / 0.6169 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4135, allocations: 192.2 kB / 0.6171 GB, free: 10.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.4136, allocations: 103.1 kB / 0.6172 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4137, allocations: 94.06 kB / 0.6173 GB, free: 10.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4138, allocations: 326.8 kB / 0.6176 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.414, allocations: 64.83 kB / 0.6177 GB, free: 10.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.4143, allocations: 310.8 kB / 0.618 GB, free: 9.707 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.4148, allocations: 432.9 kB / 0.6184 GB, free: 9.164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4148, allocations: 0 / 0.6184 GB, free: 9.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006543/0.4154, allocations: 409.5 kB / 0.6188 GB, free: 8.758 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4154, allocations: 8 kB / 0.6188 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4154, allocations: 8 kB / 0.6188 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.4155, allocations: 12 kB / 0.6188 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.4158, allocations: 103.8 kB / 0.6189 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.4158, allocations: 23.86 kB / 0.6189 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.416, allocations: 43.73 kB / 0.619 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.4161, allocations: 31.98 kB / 0.619 GB, free: 8.531 MB / 462.1 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.0001443/0.4162, allocations: 171 kB / 0.6192 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.4163, allocations: 23.86 kB / 0.6192 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4173, allocations: 0.8086 MB / 0.62 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.4173, allocations: 11.98 kB / 0.62 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4173, allocations: 7.875 kB / 0.62 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.4173, allocations: 4 kB / 0.62 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4184, allocations: 0.9006 MB / 0.6209 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4184, allocations: 4 kB / 0.6209 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4185, allocations: 35.86 kB / 0.6209 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4185, allocations: 3.984 kB / 0.6209 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4185, allocations: 12 kB / 0.6209 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.4185, allocations: 0 / 0.6209 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4185, allocations: 12.03 kB / 0.621 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.4189, allocations: 375.7 kB / 0.6213 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.419, allocations: 27.73 kB / 0.6213 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.419, allocations: 55.55 kB / 0.6214 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.4193, allocations: 4 kB / 0.6214 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4193, allocations: 23.97 kB / 0.6214 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.4193, allocations: 12 kB / 0.6214 GB, free: 5.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.4196, allocations: 290.8 kB / 0.6217 GB, free: 5.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4196, allocations: 0 / 0.6217 GB, free: 5.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001138/0.4208, allocations: 434.6 kB / 0.6221 GB, free: 5.195 MB / 462.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 (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.001989/0.4228, allocations: 1.443 MB / 0.6235 GB, free: 3.695 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.4232, allocations: 236.5 kB / 0.6238 GB, free: 3.465 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4232, allocations: 3.938 kB / 0.6238 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4233, allocations: 77.34 kB / 0.6238 GB, free: 3.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007536/0.424, allocations: 109.6 kB / 0.6239 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.435/1.859, allocations: 0.5821 GB / 1.206 GB, free: 234.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/1.859, allocations: 0.8109 MB / 1.207 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006106/1.86, allocations: 166.8 kB / 1.207 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/1.86, allocations: 147.3 kB / 1.207 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/1.86, allocations: 0.5312 kB / 1.207 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/1.9, allocations: 18.78 MB / 1.225 GB, free: 219.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/13.74, allocations: 25.05 kB / 1.225 GB, free: 219.7 MB / 0.6231 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 20.6568033999647]