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) 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/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 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001881/0.001881, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002275/0.002275, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 79.86 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3472, allocations: 62.46 MB / 0.5307 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01452/0.3618, allocations: 11.27 MB / 0.5417 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.3768, allocations: 11.78 MB / 0.5532 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.3771, allocations: 0 / 0.5532 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.3775, allocations: 67.56 kB / 0.5533 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.3899, allocations: 3.123 MB / 0.5563 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.3904, allocations: 150.8 kB / 0.5564 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005998/0.3964, allocations: 3.905 MB / 0.5603 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.3965, allocations: 16.41 kB / 0.5603 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3967, allocations: 139.5 kB / 0.5604 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01006/0.4067, allocations: 7.114 MB / 0.5674 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/0.4069, allocations: 12 kB / 0.5674 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00644/0.4133, allocations: 2.142 MB / 0.5695 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4134, allocations: 47.75 kB / 0.5695 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.4137, allocations: 119.5 kB / 0.5696 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00498/0.4187, allocations: 1.555 MB / 0.5711 GB, free: 8.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4187, allocations: 0 / 0.5711 GB, free: 8.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4187, allocations: 0 / 0.5711 GB, free: 8.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4187, allocations: 0 / 0.5711 GB, free: 8.129 MB / 430.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.002465/0.4212, allocations: 0.9413 MB / 0.5721 GB, free: 7.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4213, allocations: 12.03 kB / 0.5721 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.019e-05/0.4214, allocations: 62.72 kB / 0.5721 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.422, allocations: 80.67 kB / 0.5722 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.4224, allocations: 244 kB / 0.5724 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.4224, allocations: 20.94 kB / 0.5725 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.4224, allocations: 36.31 kB / 0.5725 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4235, allocations: 481.4 kB / 0.573 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4235, allocations: 4 kB / 0.573 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.4235, allocations: 19.98 kB / 0.573 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.4236, allocations: 8 kB / 0.573 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.4247, allocations: 0.6812 MB / 0.5736 GB, free: 5.426 MB / 430.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.007918/0.4327, allocations: 4.304 MB / 0.5778 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.4332, allocations: 163.1 kB / 0.578 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4334, allocations: 61.52 kB / 0.5781 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03089/0.4643, allocations: 16.42 MB / 0.5941 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000847/0.4652, allocations: 314 kB / 0.5944 GB, free: 13.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.146e-06/0.4652, allocations: 0 / 0.5944 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00148/0.4667, allocations: 442.6 kB / 0.5948 GB, free: 13.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003255/0.467, allocations: 478.6 kB / 0.5953 GB, free: 12.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4672, allocations: 190 kB / 0.5955 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.4673, allocations: 33.7 kB / 0.5955 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.4675, allocations: 192.3 kB / 0.5957 GB, free: 12.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4676, allocations: 107.1 kB / 0.5958 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.4677, allocations: 94.06 kB / 0.5959 GB, free: 11.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4679, allocations: 326.8 kB / 0.5962 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.468, allocations: 64.83 kB / 0.5962 GB, free: 11.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.4684, allocations: 310.8 kB / 0.5965 GB, free: 11.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.469, allocations: 433.4 kB / 0.5969 GB, free: 10.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.469, allocations: 0 / 0.5969 GB, free: 10.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007461/0.4698, allocations: 400.6 kB / 0.5973 GB, free: 10.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4698, allocations: 13 kB / 0.5973 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.4698, allocations: 8 kB / 0.5973 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.4699, allocations: 16 kB / 0.5974 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.4702, allocations: 107.8 kB / 0.5975 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.4702, allocations: 19.92 kB / 0.5975 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.4705, allocations: 51.61 kB / 0.5975 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.4705, allocations: 31.98 kB / 0.5976 GB, free: 9.859 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.0001688/0.4707, allocations: 157.5 kB / 0.5977 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.4708, allocations: 27.86 kB / 0.5977 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.472, allocations: 0.7821 MB / 0.5985 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.472, allocations: 4 kB / 0.5985 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.472, allocations: 7.984 kB / 0.5985 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.472, allocations: 7.875 kB / 0.5985 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.4734, allocations: 1.218 MB / 0.5997 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4734, allocations: 0 / 0.5997 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.4736, allocations: 35.92 kB / 0.5997 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.4736, allocations: 7.938 kB / 0.5998 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4736, allocations: 4 kB / 0.5998 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.4736, allocations: 4 kB / 0.5998 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.4736, allocations: 7.938 kB / 0.5998 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.4741, allocations: 376.8 kB / 0.6001 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.4742, allocations: 112.8 kB / 0.6002 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.4743, allocations: 47.56 kB / 0.6003 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.4745, allocations: 11.98 kB / 0.6003 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.4746, allocations: 15.98 kB / 0.6003 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.4746, allocations: 8 kB / 0.6003 GB, free: 6.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003443/0.4749, allocations: 294.9 kB / 0.6006 GB, free: 6.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4749, allocations: 0 / 0.6006 GB, free: 6.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001498/0.4765, allocations: 430.6 kB / 0.601 GB, free: 6.07 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.00213/0.4786, allocations: 1.449 MB / 0.6024 GB, free: 4.562 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.4791, allocations: 233.6 kB / 0.6026 GB, free: 4.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4791, allocations: 4.062 kB / 0.6027 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4793, allocations: 87.78 kB / 0.6027 GB, free: 4.246 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007858/0.4801, allocations: 123.6 kB / 0.6029 GB, free: 4.133 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.656/2.136, allocations: 0.5821 GB / 1.185 GB, free: 218.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/2.136, allocations: 0.8169 MB / 1.186 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004264/2.137, allocations: 172.4 kB / 1.186 GB, free: 218 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/2.137, allocations: 147.4 kB / 1.186 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/2.137, allocations: 2.25 kB / 1.186 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04239/2.179, allocations: 18.36 MB / 1.204 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.207/11.39, allocations: 9.062 kB / 1.204 GB, free: 201.4 MB / 0.6075 GB (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 --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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches