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.000994/0.000994, allocations: 200.8 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007551/0.0007551, allocations: 96 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1732/0.1732, allocations: 44.84 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002288/0.0002289, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08454/0.08478, allocations: 62.96 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2923/0.3772, allocations: 137.5 MB / 0.6496 GB, free: 3.945 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3784, allocations: 1.099 MB / 0.6506 GB, free: 2.844 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.3784, allocations: 0 / 0.6506 GB, free: 2.844 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.3785, allocations: 35.8 kB / 0.6507 GB, free: 2.809 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.3786, allocations: 23.78 kB / 0.6507 GB, free: 2.785 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.3794, allocations: 354.4 kB / 0.651 GB, free: 2.438 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.3795, allocations: 67.61 kB / 0.6511 GB, free: 2.371 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.3796, allocations: 3.938 kB / 0.6511 GB, free: 2.367 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.3797, allocations: 35.84 kB / 0.6511 GB, free: 2.332 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.3797, allocations: 23.92 kB / 0.6512 GB, free: 2.309 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3797, allocations: 4 kB / 0.6512 GB, free: 2.305 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.3806, allocations: 450.9 kB / 0.6516 GB, free: 1.863 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.3806, allocations: 11.98 kB / 0.6516 GB, free: 1.852 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.3806, allocations: 33.64 kB / 0.6516 GB, free: 1.812 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.3809, allocations: 201.2 kB / 0.6518 GB, free: 1.617 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3809, allocations: 0 / 0.6518 GB, free: 1.617 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3809, allocations: 0 / 0.6518 GB, free: 1.617 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.3809, allocations: 0 / 0.6518 GB, free: 1.617 MB / 458.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.0004886/0.3814, allocations: 395.1 kB / 0.6522 GB, free: 1.184 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3815, allocations: 16.03 kB / 0.6522 GB, free: 1.168 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.3815, allocations: 11.89 kB / 0.6522 GB, free: 1.156 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3816, allocations: 167 kB / 0.6524 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3816, allocations: 12 kB / 0.6524 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3817, allocations: 11.89 kB / 0.6524 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.3818, allocations: 65.67 kB / 0.6525 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3818, allocations: 4 kB / 0.6525 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3818, allocations: 0 / 0.6525 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3818, allocations: 0 / 0.6525 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.3819, allocations: 55.86 kB / 0.6525 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.3823, allocations: 377.9 kB / 0.6529 GB, free: 372 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.999e-05/0.3824, allocations: 62.55 kB / 0.653 GB, free: 300 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.3824, allocations: 21.05 kB / 0.653 GB, free: 276 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.384, allocations: 1.227 MB / 0.6542 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3841, allocations: 30.56 kB / 0.6542 GB, free: 14.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3841, allocations: 0 / 0.6542 GB, free: 14.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.006645/0.3907, allocations: 0.6608 MB / 0.6549 GB, free: 14.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.3908, allocations: 55.41 kB / 0.6549 GB, free: 14.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.574e-05/0.3909, allocations: 109.8 kB / 0.655 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.3909, allocations: 25.7 kB / 0.655 GB, free: 13.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.391, allocations: 100.2 kB / 0.6551 GB, free: 13.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.391, allocations: 43.36 kB / 0.6552 GB, free: 13.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.391, allocations: 4 kB / 0.6552 GB, free: 13.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.3911, allocations: 310.8 kB / 0.6555 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.3913, allocations: 83.94 kB / 0.6556 GB, free: 13.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3916, allocations: 111.3 kB / 0.6557 GB, free: 13.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3918, allocations: 92.09 kB / 0.6557 GB, free: 13.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3918, allocations: 0 / 0.6557 GB, free: 13.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000502/0.3923, allocations: 245.4 kB / 0.656 GB, free: 12.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3923, allocations: 4 kB / 0.656 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3923, allocations: 12.02 kB / 0.656 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.3923, allocations: 0 / 0.656 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.393, allocations: 55.75 kB / 0.6561 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.393, allocations: 4 kB / 0.6561 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.3936, allocations: 19.98 kB / 0.6561 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.3936, allocations: 7.984 kB / 0.6561 GB, free: 12.79 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.0001053/0.3937, allocations: 113.8 kB / 0.6562 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.3938, allocations: 7.906 kB / 0.6562 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.3945, allocations: 349.9 kB / 0.6565 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3946, allocations: 4 kB / 0.6565 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3946, allocations: 4 kB / 0.6565 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3946, allocations: 7.938 kB / 0.6565 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/0.3956, allocations: 0.7543 MB / 0.6573 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3956, allocations: 0 / 0.6573 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.3962, allocations: 43.95 kB / 0.6573 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3962, allocations: 0 / 0.6573 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.3962, allocations: 15.95 kB / 0.6573 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3962, allocations: 0 / 0.6573 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3963, allocations: 7.984 kB / 0.6573 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.3968, allocations: 347.2 kB / 0.6577 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.3969, allocations: 108.9 kB / 0.6578 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.3969, allocations: 8 kB / 0.6578 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.3975, allocations: 11.98 kB / 0.6578 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.3975, allocations: 19.94 kB / 0.6578 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.3976, allocations: 11.92 kB / 0.6578 GB, free: 10.85 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.3976, allocations: 83.28 kB / 0.6579 GB, free: 10.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3976, allocations: 0 / 0.6579 GB, free: 10.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.398, allocations: 104 kB / 0.658 GB, free: 10.67 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.0003822/0.3984, allocations: 223.8 kB / 0.6582 GB, free: 10.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004556/0.3988, allocations: 202.9 kB / 0.6584 GB, free: 10.24 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3989, allocations: 3.938 kB / 0.6584 GB, free: 10.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.3991, allocations: 119.9 kB / 0.6585 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3994, allocations: 38.16 kB / 0.6586 GB, free: 10.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.4, allocations: 336 kB / 0.6589 GB, free: 9.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.4002, allocations: 0.7006 MB / 0.6596 GB, free: 9.004 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.4004, allocations: 35.39 kB / 0.6596 GB, free: 8.969 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4004, allocations: 0 / 0.6596 GB, free: 8.969 MB / 474.7 MB Notification: Performance of Templates: time 0.005452/0.4059, allocations: 4.122 MB / 0.6636 GB, free: 4.84 MB / 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