Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001824/0.001824, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 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.2221/0.2221, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.86 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3625, allocations: 62.43 MB / 0.5305 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.16/0.5225, allocations: 139 MB / 0.6663 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005514/0.5281, allocations: 4.727 MB / 0.6709 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.5283, allocations: 0 / 0.6709 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.5288, allocations: 63.59 kB / 0.671 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.5308, allocations: 0.7267 MB / 0.6717 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.5313, allocations: 165.5 kB / 0.6718 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.5319, allocations: 370.1 kB / 0.6722 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.5319, allocations: 17.67 kB / 0.6722 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.5323, allocations: 159.5 kB / 0.6724 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.5326, allocations: 187.3 kB / 0.6725 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.5327, allocations: 8 kB / 0.6725 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.5341, allocations: 0.6981 MB / 0.6732 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.5342, allocations: 43.81 kB / 0.6733 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.5344, allocations: 107.5 kB / 0.6734 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.5355, allocations: 473 kB / 0.6738 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5355, allocations: 3.984 kB / 0.6738 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5355, allocations: 0 / 0.6738 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.5355, allocations: 0 / 0.6738 GB, free: 14.39 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001247/0.5367, allocations: 0.6008 MB / 0.6744 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5368, allocations: 8.031 kB / 0.6744 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.344e-05/0.5369, allocations: 58.73 kB / 0.6745 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.5371, allocations: 24.75 kB / 0.6745 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.5374, allocations: 235.9 kB / 0.6747 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.5376, allocations: 123.9 kB / 0.6748 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.5376, allocations: 24.12 kB / 0.6749 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.5382, allocations: 330.7 kB / 0.6752 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5382, allocations: 0 / 0.6752 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.5382, allocations: 12 kB / 0.6752 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.5382, allocations: 8 kB / 0.6752 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.5392, allocations: 0.7352 MB / 0.6759 GB, free: 12.1 MB / 0.5294 GB 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.001303/0.5405, allocations: 1.226 MB / 0.6771 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.5409, allocations: 183.7 kB / 0.6773 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.541, allocations: 89.48 kB / 0.6774 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002999/0.544, allocations: 2.699 MB / 0.68 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.5441, allocations: 34.56 kB / 0.68 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.5441, allocations: 0 / 0.68 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0009374/0.545, allocations: 224.1 kB / 0.6803 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.5451, allocations: 59.41 kB / 0.6803 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.5454, allocations: 212 kB / 0.6805 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.5455, allocations: 29.7 kB / 0.6805 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5457, allocations: 214.7 kB / 0.6807 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.5458, allocations: 51.34 kB / 0.6808 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.5459, allocations: 85.94 kB / 0.6809 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5461, allocations: 330.8 kB / 0.6812 GB, free: 6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.5462, allocations: 48.84 kB / 0.6812 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.5466, allocations: 321.1 kB / 0.6815 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.5472, allocations: 424.3 kB / 0.682 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.5472, allocations: 0 / 0.682 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008753/0.5481, allocations: 381.3 kB / 0.6823 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.5481, allocations: 8 kB / 0.6823 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.5481, allocations: 8 kB / 0.6823 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.099e-05/0.5482, allocations: 19.94 kB / 0.6824 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.5487, allocations: 103.8 kB / 0.6824 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.961e-05/0.5487, allocations: 23.86 kB / 0.6825 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.5491, allocations: 20.5 kB / 0.6825 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.5492, allocations: 24 kB / 0.6825 GB, free: 4.379 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001989/0.5494, allocations: 161.5 kB / 0.6827 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.5495, allocations: 23.8 kB / 0.6827 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.5499, allocations: 143.8 kB / 0.6828 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.5499, allocations: 3.938 kB / 0.6828 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.55, allocations: 0 / 0.6828 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.55, allocations: 3.984 kB / 0.6828 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.5508, allocations: 444 kB / 0.6833 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5508, allocations: 0 / 0.6833 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.551, allocations: 27.98 kB / 0.6833 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.551, allocations: 64 / 0.6833 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.551, allocations: 8 kB / 0.6833 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.551, allocations: 0 / 0.6833 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5511, allocations: 0 / 0.6833 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.5514, allocations: 232.8 kB / 0.6835 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5515, allocations: 96.91 kB / 0.6836 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.5516, allocations: 7.938 kB / 0.6836 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.5519, allocations: 23.92 kB / 0.6836 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.5519, allocations: 8 kB / 0.6836 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.552, allocations: 7.984 kB / 0.6837 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001757/0.5522, allocations: 148.5 kB / 0.6838 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5522, allocations: 4 kB / 0.6838 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006976/0.5529, allocations: 92 kB / 0.6839 GB, free: 2.848 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0009138/0.5538, allocations: 0.8227 MB / 0.6847 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.5542, allocations: 181.2 kB / 0.6849 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5543, allocations: 0 / 0.6849 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.5544, allocations: 35.92 kB / 0.6849 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.555, allocations: 50.05 kB / 0.6849 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.5591, allocations: 2.735 MB / 0.6876 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.5595, allocations: 0.7245 MB / 0.6883 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002845/0.5598, allocations: 54.92 kB / 0.6884 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.5599, allocations: 63.41 kB / 0.6884 GB, free: 13.79 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.5599, allocations: 0 / 0.6884 GB, free: 13.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.5871, allocations: 5.401 MB / 0.6937 GB, free: 8.492 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/8.136, allocations: 4.062 kB / 0.6937 GB, free: 8.488 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches