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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008246/0.0008243, allocations: 102.8 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3182/0.3182, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002499/0.0002499, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2644, allocations: 62.97 MB / 0.516 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1264/0.3908, allocations: 137.5 MB / 0.6502 GB, free: 15.59 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.392, allocations: 1.099 MB / 0.6513 GB, free: 14.49 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.392, allocations: 0 / 0.6513 GB, free: 14.49 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3922, allocations: 39.78 kB / 0.6513 GB, free: 14.45 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.284e-05/0.3922, allocations: 31.72 kB / 0.6514 GB, free: 14.42 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.3931, allocations: 366.4 kB / 0.6517 GB, free: 14.06 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.3932, allocations: 63.61 kB / 0.6518 GB, free: 14 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.3932, allocations: 4 kB / 0.6518 GB, free: 13.99 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.3933, allocations: 31.86 kB / 0.6518 GB, free: 13.96 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.3934, allocations: 27.91 kB / 0.6518 GB, free: 13.93 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.3934, allocations: 4 kB / 0.6518 GB, free: 13.93 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.3943, allocations: 482.8 kB / 0.6523 GB, free: 13.46 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3943, allocations: 11.92 kB / 0.6523 GB, free: 13.45 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.3943, allocations: 49.64 kB / 0.6524 GB, free: 13.39 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.3947, allocations: 225.4 kB / 0.6526 GB, free: 13.17 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3947, allocations: 0 / 0.6526 GB, free: 13.17 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3947, allocations: 0 / 0.6526 GB, free: 13.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3947, allocations: 0 / 0.6526 GB, free: 13.17 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.0004447/0.3952, allocations: 395.4 kB / 0.653 GB, free: 12.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3952, allocations: 8.031 kB / 0.653 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.3953, allocations: 38.75 kB / 0.653 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.3953, allocations: 16.53 kB / 0.653 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.3954, allocations: 167 kB / 0.6532 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3954, allocations: 4 kB / 0.6532 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3954, allocations: 7.906 kB / 0.6532 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3956, allocations: 69.66 kB / 0.6533 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3956, allocations: 4 kB / 0.6533 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-06/0.3956, allocations: 4 kB / 0.6533 GB, free: 12.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3956, allocations: 3.938 kB / 0.6533 GB, free: 12.37 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.985e-05/0.3957, allocations: 51.84 kB / 0.6533 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3961, allocations: 377.9 kB / 0.6537 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.115e-05/0.3962, allocations: 58.55 kB / 0.6537 GB, free: 11.81 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.3962, allocations: 25.05 kB / 0.6538 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.3979, allocations: 1.228 MB / 0.655 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3979, allocations: 30.56 kB / 0.655 GB, free: 10.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.3979, allocations: 0 / 0.655 GB, free: 10.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.006585/0.4045, allocations: 0.6493 MB / 0.6556 GB, free: 9.621 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4046, allocations: 59.34 kB / 0.6557 GB, free: 9.551 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.4046, allocations: 113.8 kB / 0.6558 GB, free: 9.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.4047, allocations: 25.7 kB / 0.6558 GB, free: 9.398 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.4047, allocations: 88.27 kB / 0.6559 GB, free: 9.309 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.4048, allocations: 51.34 kB / 0.6559 GB, free: 9.258 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.4048, allocations: 0 / 0.6559 GB, free: 9.258 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4049, allocations: 322.8 kB / 0.6563 GB, free: 8.934 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.4051, allocations: 79.94 kB / 0.6563 GB, free: 8.855 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.4053, allocations: 114.5 kB / 0.6564 GB, free: 8.734 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.4057, allocations: 198.5 kB / 0.6566 GB, free: 8.531 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.4057, allocations: 0 / 0.6566 GB, free: 8.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005176/0.4062, allocations: 244.8 kB / 0.6569 GB, free: 8.289 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4063, allocations: 12.06 kB / 0.6569 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4063, allocations: 0 / 0.6569 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.4063, allocations: 0 / 0.6569 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.407, allocations: 55.94 kB / 0.6569 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.407, allocations: 0.5625 kB / 0.6569 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.4075, allocations: 16.23 kB / 0.6569 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.4076, allocations: 11.98 kB / 0.657 GB, free: 8.195 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.0001054/0.4077, allocations: 125.7 kB / 0.6571 GB, free: 8.062 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.4077, allocations: 11.91 kB / 0.6571 GB, free: 8.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/0.4085, allocations: 345.4 kB / 0.6574 GB, free: 7.707 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4085, allocations: 4 kB / 0.6574 GB, free: 7.703 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4085, allocations: 0 / 0.6574 GB, free: 7.703 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4085, allocations: 3.984 kB / 0.6574 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.4095, allocations: 0.7609 MB / 0.6582 GB, free: 6.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4095, allocations: 3.984 kB / 0.6582 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.4101, allocations: 47.89 kB / 0.6582 GB, free: 6.797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4102, allocations: 4 kB / 0.6582 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.4102, allocations: 8 kB / 0.6582 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4102, allocations: 3.938 kB / 0.6582 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4102, allocations: 0 / 0.6582 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.4108, allocations: 353 kB / 0.6586 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.4109, allocations: 112.8 kB / 0.6587 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4109, allocations: 3.938 kB / 0.6587 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.4114, allocations: 19.92 kB / 0.6587 GB, free: 6.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.4115, allocations: 11.98 kB / 0.6587 GB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.4116, allocations: 19.92 kB / 0.6587 GB, free: 6.238 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.4116, allocations: 79.28 kB / 0.6588 GB, free: 6.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4116, allocations: 0 / 0.6588 GB, free: 6.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004022/0.412, allocations: 99.98 kB / 0.6589 GB, free: 6.062 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.001088/0.4131, allocations: 1.001 MB / 0.6599 GB, free: 5.031 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004566/0.4136, allocations: 203 kB / 0.6601 GB, free: 4.836 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4136, allocations: 0 / 0.6601 GB, free: 4.836 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.4138, allocations: 123.8 kB / 0.6602 GB, free: 4.715 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.4142, allocations: 31.91 kB / 0.6602 GB, free: 4.684 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007751/0.415, allocations: 406.3 kB / 0.6606 GB, free: 4.242 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.4152, allocations: 0.6929 MB / 0.6613 GB, free: 3.523 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.4155, allocations: 59.36 kB / 0.6613 GB, free: 3.465 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4155, allocations: 0 / 0.6613 GB, free: 3.465 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.656/3.071, allocations: 3.512 MB / 0.6648 GB, free: 15.95 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/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