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.00169/0.00169, allocations: 121.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002212/0.002212, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3738, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.249/0.6228, allocations: 154.4 MB / 0.6817 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.6245, allocations: 1.199 MB / 0.6829 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.6246, allocations: 0 / 0.6829 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.6248, allocations: 35.8 kB / 0.6829 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.6249, allocations: 27.72 kB / 0.683 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.6263, allocations: 445.5 kB / 0.6834 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.6265, allocations: 71.59 kB / 0.6835 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.6265, allocations: 4 kB / 0.6835 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.6266, allocations: 39.84 kB / 0.6835 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.6267, allocations: 27.86 kB / 0.6835 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.6267, allocations: 0 / 0.6835 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.6279, allocations: 0.4909 MB / 0.684 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.628, allocations: 15.97 kB / 0.684 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.628, allocations: 23.88 kB / 0.684 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.6287, allocations: 313.3 kB / 0.6843 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.6287, allocations: 4 kB / 0.6843 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6287, allocations: 4 kB / 0.6843 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6287, allocations: 0 / 0.6843 GB, free: 4.129 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.0006264/0.6293, allocations: 403.3 kB / 0.6847 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6294, allocations: 8.031 kB / 0.6847 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.6294, allocations: 12.83 kB / 0.6848 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.6296, allocations: 167 kB / 0.6849 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.6296, allocations: 8 kB / 0.6849 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.6296, allocations: 11.88 kB / 0.6849 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.6298, allocations: 69.61 kB / 0.685 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6298, allocations: 11.98 kB / 0.685 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.6299, allocations: 0 / 0.685 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.6299, allocations: 4 kB / 0.685 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.63, allocations: 47.95 kB / 0.6851 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.6305, allocations: 377.8 kB / 0.6854 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.6306, allocations: 62.48 kB / 0.6855 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.6307, allocations: 28.84 kB / 0.6855 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.6325, allocations: 1.209 MB / 0.6867 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6326, allocations: 42.48 kB / 0.6867 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.6326, allocations: 0 / 0.6867 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007159/0.6397, allocations: 0.6605 MB / 0.6874 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.6398, allocations: 55.41 kB / 0.6874 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.6399, allocations: 101.8 kB / 0.6875 GB, free: 440 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.64, allocations: 25.7 kB / 0.6875 GB, free: 408 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.64, allocations: 96.27 kB / 0.6876 GB, free: 308 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.6401, allocations: 47.25 kB / 0.6877 GB, free: 260 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.6402, allocations: 45.67 kB / 0.6877 GB, free: 208 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6404, allocations: 322.8 kB / 0.688 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.6406, allocations: 75.95 kB / 0.6881 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.6408, allocations: 116.7 kB / 0.6882 GB, free: 15.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.6413, allocations: 206.4 kB / 0.6884 GB, free: 15.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6413, allocations: 0 / 0.6884 GB, free: 15.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005661/0.6419, allocations: 245.5 kB / 0.6887 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6419, allocations: 4 kB / 0.6887 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.6419, allocations: 0.5625 kB / 0.6887 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.6419, allocations: 4 kB / 0.6887 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.6427, allocations: 51.88 kB / 0.6887 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.6427, allocations: 4 kB / 0.6887 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.6433, allocations: 24.25 kB / 0.6887 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.6433, allocations: 15.97 kB / 0.6888 GB, free: 15.12 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.0001272/0.6434, allocations: 121.7 kB / 0.6889 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.6435, allocations: 11.91 kB / 0.6889 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/0.6443, allocations: 343.5 kB / 0.6892 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6443, allocations: 4 kB / 0.6892 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6443, allocations: 3.984 kB / 0.6892 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6444, allocations: 0 / 0.6892 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.6456, allocations: 0.7555 MB / 0.69 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6456, allocations: 0 / 0.69 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.6462, allocations: 47.95 kB / 0.69 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6463, allocations: 0 / 0.69 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.6463, allocations: 11.98 kB / 0.69 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6463, allocations: 0 / 0.69 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6463, allocations: 7.875 kB / 0.69 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.6469, allocations: 362 kB / 0.6904 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.647, allocations: 96.97 kB / 0.6905 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.6471, allocations: 4 kB / 0.6905 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.6477, allocations: 16 kB / 0.6905 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.6477, allocations: 19.91 kB / 0.6905 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.6478, allocations: 7.984 kB / 0.6905 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.6478, allocations: 83.28 kB / 0.6906 GB, free: 13.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6478, allocations: 0 / 0.6906 GB, free: 13.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004632/0.6483, allocations: 103.9 kB / 0.6907 GB, free: 13.01 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.0005356/0.6488, allocations: 227 kB / 0.6909 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.6494, allocations: 199.9 kB / 0.6911 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6494, allocations: 0 / 0.6911 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.6497, allocations: 127.9 kB / 0.6912 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.6502, allocations: 36.14 kB / 0.6912 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.6508, allocations: 244.2 kB / 0.6915 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.6511, allocations: 0.6965 MB / 0.6922 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003317/0.6514, allocations: 56.77 kB / 0.6922 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.6516, allocations: 39.38 kB / 0.6922 GB, free: 11.34 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.6516, allocations: 0 / 0.6922 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Templates: time 0.0108/0.6624, allocations: 6.238 MB / 0.6983 GB, free: 5.109 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