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.00144/0.00144, allocations: 122.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.001545/0.001545, allocations: 202 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.47/1.47, 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.2349/0.2349, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 83.86 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3798, allocations: 62.44 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.176/0.5558, allocations: 139 MB / 0.6664 GB, free: 6.125 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.005819/0.5616, allocations: 4.723 MB / 0.671 GB, free: 1.383 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.5618, allocations: 7.938 kB / 0.671 GB, free: 1.375 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.5622, allocations: 59.59 kB / 0.6711 GB, free: 1.316 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.5641, allocations: 0.7267 MB / 0.6718 GB, free: 0.5859 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.5645, allocations: 165.4 kB / 0.672 GB, free: 440 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.5652, allocations: 378.1 kB / 0.6723 GB, free: 60 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.5652, allocations: 9.688 kB / 0.6723 GB, free: 52 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.5655, allocations: 159.6 kB / 0.6725 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.5658, allocations: 183.4 kB / 0.6727 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.5659, allocations: 15.94 kB / 0.6727 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.5675, allocations: 0.6979 MB / 0.6733 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.5677, allocations: 43.81 kB / 0.6734 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.5678, allocations: 107.5 kB / 0.6735 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000998/0.5688, allocations: 494.1 kB / 0.674 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5689, allocations: 4 kB / 0.674 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5689, allocations: 0 / 0.674 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.5689, allocations: 0 / 0.674 GB, free: 14.37 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.001194/0.5701, allocations: 0.5999 MB / 0.6746 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5701, allocations: 12.03 kB / 0.6746 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.986e-05/0.5702, allocations: 62.73 kB / 0.6746 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.5704, allocations: 28.83 kB / 0.6747 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.5707, allocations: 228 kB / 0.6749 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.5709, allocations: 123.9 kB / 0.675 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.5709, allocations: 28.12 kB / 0.675 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.5715, allocations: 322.8 kB / 0.6753 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5715, allocations: 7.875 kB / 0.6753 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.5716, allocations: 12 kB / 0.6753 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.5716, allocations: 8 kB / 0.6753 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/0.5725, allocations: 0.7352 MB / 0.6761 GB, free: 12.07 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.001406/0.5739, allocations: 1.23 MB / 0.6773 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.5743, allocations: 175.7 kB / 0.6774 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.5745, allocations: 89.48 kB / 0.6775 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002683/0.5772, allocations: 2.703 MB / 0.6802 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5772, allocations: 34.56 kB / 0.6802 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.5772, allocations: 0 / 0.6802 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006708/0.5779, allocations: 224.4 kB / 0.6804 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.578, allocations: 55.41 kB / 0.6805 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.5782, allocations: 220.1 kB / 0.6807 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.5782, allocations: 25.7 kB / 0.6807 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.5784, allocations: 227.5 kB / 0.6809 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.5784, allocations: 47.64 kB / 0.681 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.5785, allocations: 86.03 kB / 0.681 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5787, allocations: 326.8 kB / 0.6814 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.5788, allocations: 52.83 kB / 0.6814 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.5791, allocations: 317.2 kB / 0.6817 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.5796, allocations: 428.3 kB / 0.6821 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5796, allocations: 0 / 0.6821 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005555/0.5802, allocations: 373.8 kB / 0.6825 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5802, allocations: 16.03 kB / 0.6825 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5802, allocations: 8 kB / 0.6825 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.5803, allocations: 15.94 kB / 0.6825 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.5806, allocations: 111.8 kB / 0.6826 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.5806, allocations: 15.94 kB / 0.6826 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.5809, allocations: 16 kB / 0.6826 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.5809, allocations: 31.94 kB / 0.6827 GB, free: 4.34 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.0001456/0.581, allocations: 161.5 kB / 0.6828 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.5811, allocations: 23.91 kB / 0.6829 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.5814, allocations: 151.8 kB / 0.683 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5815, allocations: 4 kB / 0.683 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5815, allocations: 3.938 kB / 0.683 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5815, allocations: 0 / 0.683 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.582, allocations: 444 kB / 0.6834 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5821, allocations: 0 / 0.6834 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.5822, allocations: 27.98 kB / 0.6835 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5822, allocations: 0 / 0.6835 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5822, allocations: 4 kB / 0.6835 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.5823, allocations: 7.984 kB / 0.6835 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5823, allocations: 0 / 0.6835 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.5825, allocations: 225 kB / 0.6837 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.5826, allocations: 101 kB / 0.6838 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.5827, allocations: 3.953 kB / 0.6838 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.5829, allocations: 11.98 kB / 0.6838 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.5829, allocations: 11.92 kB / 0.6838 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.5829, allocations: 12 kB / 0.6838 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001379/0.5831, allocations: 152.5 kB / 0.684 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5831, allocations: 0 / 0.684 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005447/0.5836, allocations: 95.88 kB / 0.6841 GB, free: 2.805 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.0007884/0.5844, allocations: 0.8114 MB / 0.6848 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.5848, allocations: 184.8 kB / 0.685 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5848, allocations: 4.75 kB / 0.685 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.5849, allocations: 36.05 kB / 0.6851 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.5853, allocations: 49.05 kB / 0.6851 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.5885, allocations: 2.739 MB / 0.6878 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5889, allocations: 0.7245 MB / 0.6885 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.5891, allocations: 54.92 kB / 0.6885 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5892, allocations: 63.42 kB / 0.6886 GB, free: 13.74 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5892, allocations: 0 / 0.6886 GB, free: 13.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.6172, allocations: 5.334 MB / 0.6938 GB, free: 8.516 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.799, allocations: 4.656 kB / 0.6938 GB, free: 8.512 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