Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 198 kB / 16.1 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 243.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007665/0.0007664, allocations: 99.52 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2856/0.2856, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002519/0.0002519, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2792, allocations: 62.96 MB / 0.5159 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1349/0.4142, allocations: 137.5 MB / 0.6501 GB, free: 15.58 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.4155, allocations: 1.099 MB / 0.6512 GB, free: 14.48 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.4155, allocations: 0 / 0.6512 GB, free: 14.48 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.4157, allocations: 39.73 kB / 0.6512 GB, free: 14.44 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.536e-05/0.4157, allocations: 27.77 kB / 0.6513 GB, free: 14.41 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.4168, allocations: 366.4 kB / 0.6516 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.4168, allocations: 63.61 kB / 0.6517 GB, free: 13.99 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.4169, allocations: 4 kB / 0.6517 GB, free: 13.98 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.417, allocations: 35.84 kB / 0.6517 GB, free: 13.95 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.417, allocations: 27.92 kB / 0.6517 GB, free: 13.92 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.417, allocations: 0 / 0.6517 GB, free: 13.92 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009652/0.418, allocations: 486.8 kB / 0.6522 GB, free: 13.45 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.418, allocations: 11.94 kB / 0.6522 GB, free: 13.43 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.4181, allocations: 45.62 kB / 0.6523 GB, free: 13.38 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.4184, allocations: 221.1 kB / 0.6525 GB, free: 13.17 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4185, allocations: 4 kB / 0.6525 GB, free: 13.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4185, allocations: 0 / 0.6525 GB, free: 13.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.4185, allocations: 0 / 0.6525 GB, free: 13.16 MB / 474.7 MB 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.0005144/0.419, allocations: 395.4 kB / 0.6529 GB, free: 12.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.419, allocations: 12.81 kB / 0.6529 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.4191, allocations: 12.84 kB / 0.6529 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4192, allocations: 174.9 kB / 0.653 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.4192, allocations: 0 / 0.653 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.4192, allocations: 8 kB / 0.6531 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4194, allocations: 81.64 kB / 0.6531 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4194, allocations: 3.906 kB / 0.6531 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4194, allocations: 4 kB / 0.6531 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4194, allocations: 0 / 0.6531 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.4195, allocations: 43.97 kB / 0.6532 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.42, allocations: 385.8 kB / 0.6536 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.58e-05/0.4201, allocations: 62.56 kB / 0.6536 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.4201, allocations: 20.84 kB / 0.6536 GB, free: 11.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.4217, allocations: 1.225 MB / 0.6548 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.4217, allocations: 42.44 kB / 0.6549 GB, free: 10.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.4218, allocations: 0 / 0.6549 GB, free: 10.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.006465/0.4282, allocations: 0.6414 MB / 0.6555 GB, free: 9.648 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4283, allocations: 59.34 kB / 0.6556 GB, free: 9.578 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.4284, allocations: 101.8 kB / 0.6556 GB, free: 9.469 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.4284, allocations: 33.7 kB / 0.6557 GB, free: 9.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.4284, allocations: 88.27 kB / 0.6558 GB, free: 9.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.4285, allocations: 43.36 kB / 0.6558 GB, free: 9.297 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.4285, allocations: 11.94 kB / 0.6558 GB, free: 9.285 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4287, allocations: 318.8 kB / 0.6561 GB, free: 8.965 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.4289, allocations: 79.94 kB / 0.6562 GB, free: 8.887 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4291, allocations: 108.8 kB / 0.6563 GB, free: 8.773 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.4295, allocations: 209.8 kB / 0.6565 GB, free: 8.562 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4295, allocations: 0 / 0.6565 GB, free: 8.562 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005323/0.43, allocations: 245.4 kB / 0.6567 GB, free: 8.316 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4301, allocations: 11.94 kB / 0.6567 GB, free: 8.305 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4301, allocations: 0 / 0.6567 GB, free: 8.305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.4301, allocations: 3.938 kB / 0.6567 GB, free: 8.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/0.4307, allocations: 52 kB / 0.6568 GB, free: 8.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4307, allocations: 4 kB / 0.6568 GB, free: 8.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.4312, allocations: 12 kB / 0.6568 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.4313, allocations: 19.97 kB / 0.6568 GB, free: 8.215 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.4314, allocations: 117.7 kB / 0.6569 GB, free: 8.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.4315, allocations: 7.906 kB / 0.657 GB, free: 8.082 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007901/0.4323, allocations: 347.5 kB / 0.6573 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4323, allocations: 4 kB / 0.6573 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4323, allocations: 0 / 0.6573 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4323, allocations: 0 / 0.6573 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4333, allocations: 0.7551 MB / 0.658 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.4334, allocations: 11.92 kB / 0.658 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.4339, allocations: 44.16 kB / 0.6581 GB, free: 6.832 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.434, allocations: 4 kB / 0.6581 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.434, allocations: 7.984 kB / 0.6581 GB, free: 6.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.434, allocations: 4 kB / 0.6581 GB, free: 6.816 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.434, allocations: 3.938 kB / 0.6581 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.4346, allocations: 357 kB / 0.6584 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.4347, allocations: 108.8 kB / 0.6585 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.4347, allocations: 8 kB / 0.6586 GB, free: 6.316 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.4352, allocations: 4 kB / 0.6586 GB, free: 6.312 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.4353, allocations: 23.91 kB / 0.6586 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.4353, allocations: 11.98 kB / 0.6586 GB, free: 6.277 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.4354, allocations: 87.28 kB / 0.6587 GB, free: 6.191 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.452e-06/0.4354, allocations: 0 / 0.6587 GB, free: 6.191 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003979/0.4358, allocations: 99.92 kB / 0.6588 GB, free: 6.094 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004301/0.4362, allocations: 223 kB / 0.659 GB, free: 5.863 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.4367, allocations: 203.8 kB / 0.6592 GB, free: 5.664 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4367, allocations: 0 / 0.6592 GB, free: 5.664 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.437, allocations: 115.9 kB / 0.6593 GB, free: 5.551 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4373, allocations: 32.09 kB / 0.6593 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.4379, allocations: 339.6 kB / 0.6596 GB, free: 5.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4382, allocations: 0.7007 MB / 0.6603 GB, free: 4.434 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.4384, allocations: 35.39 kB / 0.6604 GB, free: 4.398 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4384, allocations: 0 / 0.6604 GB, free: 4.398 MB / 474.7 MB Notification: Performance of Templates: time 0.005788/0.4442, allocations: 4.13 MB / 0.6644 GB, free: 268 kB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches