Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.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: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001527, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.88 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3822, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1844/0.5667, allocations: 154.4 MB / 0.6817 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.5682, allocations: 1.199 MB / 0.6829 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.5683, allocations: 4 kB / 0.6829 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.5685, allocations: 27.81 kB / 0.6829 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.5686, allocations: 31.77 kB / 0.683 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.5698, allocations: 453.5 kB / 0.6834 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.5699, allocations: 67.59 kB / 0.6835 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.5699, allocations: 4 kB / 0.6835 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.57, allocations: 31.92 kB / 0.6835 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.5701, allocations: 27.84 kB / 0.6835 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.5701, allocations: 4 kB / 0.6835 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.5712, allocations: 0.4987 MB / 0.684 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.5713, allocations: 11.98 kB / 0.684 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.5713, allocations: 23.88 kB / 0.684 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.5719, allocations: 309.4 kB / 0.6843 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5719, allocations: 0 / 0.6843 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5719, allocations: 3.938 kB / 0.6843 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.572, allocations: 4 kB / 0.6844 GB, free: 4.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007474/0.5727, allocations: 403.3 kB / 0.6847 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5728, allocations: 12.02 kB / 0.6847 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.5728, allocations: 8.844 kB / 0.6848 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.5729, allocations: 175 kB / 0.6849 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.573, allocations: 4 kB / 0.6849 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.573, allocations: 15.88 kB / 0.6849 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.5731, allocations: 65.67 kB / 0.685 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5732, allocations: 0 / 0.685 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.5732, allocations: 0 / 0.685 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5732, allocations: 4 kB / 0.685 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.5733, allocations: 51.89 kB / 0.6851 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.5738, allocations: 385.8 kB / 0.6854 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.5739, allocations: 62.5 kB / 0.6855 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.574, allocations: 20.84 kB / 0.6855 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.5757, allocations: 1.221 MB / 0.6867 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.5758, allocations: 34.5 kB / 0.6867 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.5758, allocations: 0 / 0.6867 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006608/0.5824, allocations: 0.6534 MB / 0.6874 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5824, allocations: 55.34 kB / 0.6874 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.5825, allocations: 105.8 kB / 0.6875 GB, free: 400 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.5826, allocations: 29.7 kB / 0.6875 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.5826, allocations: 96.27 kB / 0.6876 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.5827, allocations: 43.27 kB / 0.6877 GB, free: 220 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5828, allocations: 45.67 kB / 0.6877 GB, free: 168 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.583, allocations: 318.8 kB / 0.688 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.5832, allocations: 79.94 kB / 0.6881 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.5835, allocations: 114.5 kB / 0.6882 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.5839, allocations: 205.5 kB / 0.6884 GB, free: 15.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5839, allocations: 0 / 0.6884 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005442/0.5845, allocations: 245.5 kB / 0.6886 GB, free: 15.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5845, allocations: 6.344 kB / 0.6887 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5845, allocations: 4.875 kB / 0.6887 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5845, allocations: 4 kB / 0.6887 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.5852, allocations: 55.94 kB / 0.6887 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5852, allocations: 4 kB / 0.6887 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.5857, allocations: 11.94 kB / 0.6887 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.5858, allocations: 15.97 kB / 0.6887 GB, free: 15.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001209/0.5859, allocations: 129.7 kB / 0.6889 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.5859, allocations: 7.906 kB / 0.6889 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007514/0.5867, allocations: 343.6 kB / 0.6892 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5867, allocations: 7.984 kB / 0.6892 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.5867, allocations: 0 / 0.6892 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5867, allocations: 0 / 0.6892 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5879, allocations: 0.7555 MB / 0.6899 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5879, allocations: 4 kB / 0.69 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.5885, allocations: 47.89 kB / 0.69 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5885, allocations: 0 / 0.69 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.5885, allocations: 11.98 kB / 0.69 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5885, allocations: 0 / 0.69 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5885, allocations: 7.875 kB / 0.69 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.5891, allocations: 354.1 kB / 0.6904 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.5892, allocations: 105 kB / 0.6905 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.5893, allocations: 3.938 kB / 0.6905 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.5898, allocations: 15.98 kB / 0.6905 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.5899, allocations: 11.92 kB / 0.6905 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.5899, allocations: 15.98 kB / 0.6905 GB, free: 13.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.59, allocations: 79.28 kB / 0.6906 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.59, allocations: 0 / 0.6906 GB, free: 13.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004678/0.5904, allocations: 107.9 kB / 0.6907 GB, free: 12.97 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0005288/0.591, allocations: 219.2 kB / 0.6909 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.5915, allocations: 211.8 kB / 0.6911 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5916, allocations: 0 / 0.6911 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.5918, allocations: 119.8 kB / 0.6912 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.5923, allocations: 35.95 kB / 0.6912 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.593, allocations: 256.3 kB / 0.6915 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.5933, allocations: 0.6926 MB / 0.6922 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003503/0.5936, allocations: 64.75 kB / 0.6922 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.5939, allocations: 31.41 kB / 0.6923 GB, free: 11.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.5939, allocations: 0 / 0.6923 GB, free: 11.3 MB / 0.545 GB Notification: Performance of Templates: time 0.01013/0.604, allocations: 6.235 MB / 0.6983 GB, free: 5.066 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches