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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.92 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 75.88 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.299, allocations: 66.09 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1782/0.4772, allocations: 154.9 MB / 0.7127 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.4789, allocations: 1.207 MB / 0.7139 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.479, allocations: 0 / 0.7139 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.4792, allocations: 35.81 kB / 0.714 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.4792, allocations: 31.77 kB / 0.714 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.4808, allocations: 449.6 kB / 0.7144 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.481, allocations: 71.53 kB / 0.7145 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.481, allocations: 4 kB / 0.7145 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4811, allocations: 27.98 kB / 0.7145 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.4812, allocations: 35.84 kB / 0.7146 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.4812, allocations: 0 / 0.7146 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.4824, allocations: 0.526 MB / 0.7151 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.4824, allocations: 4 kB / 0.7151 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.4825, allocations: 31.86 kB / 0.7151 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.4829, allocations: 313.2 kB / 0.7154 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4829, allocations: 0 / 0.7154 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4829, allocations: 0 / 0.7154 GB, free: 6.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.483, allocations: 0 / 0.7154 GB, free: 6.094 MB / 0.545 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.0005484/0.4835, allocations: 337.6 kB / 0.7157 GB, free: 5.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4835, allocations: 12.03 kB / 0.7157 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.4836, allocations: 4.125 kB / 0.7157 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.4836, allocations: 42.73 kB / 0.7158 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.4836, allocations: 12.5 kB / 0.7158 GB, free: 5.656 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.4837, allocations: 109.1 kB / 0.7159 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4838, allocations: 4 kB / 0.7159 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.4838, allocations: 8 kB / 0.7159 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.484, allocations: 65.67 kB / 0.716 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.484, allocations: 0 / 0.716 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.484, allocations: 7.938 kB / 0.716 GB, free: 5.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.484, allocations: 0 / 0.716 GB, free: 5.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.4841, allocations: 63.83 kB / 0.716 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.4846, allocations: 353 kB / 0.7164 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4847, allocations: 62.5 kB / 0.7164 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.4848, allocations: 24.78 kB / 0.7165 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.4861, allocations: 255.7 kB / 0.7167 GB, free: 4.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4861, allocations: 34.56 kB / 0.7167 GB, free: 4.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.4861, allocations: 0 / 0.7167 GB, free: 4.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.00664/0.4928, allocations: 0.6534 MB / 0.7174 GB, free: 3.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.4928, allocations: 51.41 kB / 0.7174 GB, free: 3.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/0.4929, allocations: 109.8 kB / 0.7175 GB, free: 3.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.4929, allocations: 25.7 kB / 0.7175 GB, free: 3.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.493, allocations: 84.38 kB / 0.7176 GB, free: 3.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.4931, allocations: 55.53 kB / 0.7177 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.4932, allocations: 41.67 kB / 0.7177 GB, free: 3.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4933, allocations: 322.8 kB / 0.718 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.4935, allocations: 87.88 kB / 0.7181 GB, free: 3.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.4938, allocations: 108.9 kB / 0.7182 GB, free: 2.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.4942, allocations: 201.5 kB / 0.7184 GB, free: 2.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4942, allocations: 0 / 0.7184 GB, free: 2.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006205/0.4948, allocations: 245.5 kB / 0.7186 GB, free: 2.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4949, allocations: 12 kB / 0.7187 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4949, allocations: 0 / 0.7187 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4949, allocations: 0 / 0.7187 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.4955, allocations: 51.94 kB / 0.7187 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4955, allocations: 0.5625 kB / 0.7187 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.4961, allocations: 20.23 kB / 0.7187 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.4961, allocations: 11.98 kB / 0.7187 GB, free: 2.449 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.0001332/0.4962, allocations: 123 kB / 0.7189 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.4963, allocations: 15.95 kB / 0.7189 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000793/0.4971, allocations: 348.2 kB / 0.7192 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4971, allocations: 4 kB / 0.7192 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4971, allocations: 0 / 0.7192 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4971, allocations: 4 kB / 0.7192 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.4983, allocations: 0.731 MB / 0.7199 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4983, allocations: 3.984 kB / 0.7199 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.4989, allocations: 47.91 kB / 0.72 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4989, allocations: 4 kB / 0.72 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.4989, allocations: 7.984 kB / 0.72 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4989, allocations: 7.922 kB / 0.72 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4989, allocations: 4 kB / 0.72 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.4996, allocations: 349.9 kB / 0.7203 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.4996, allocations: 31.84 kB / 0.7204 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.4997, allocations: 7.938 kB / 0.7204 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.5002, allocations: 15.94 kB / 0.7204 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.5003, allocations: 11.97 kB / 0.7204 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.5003, allocations: 11.98 kB / 0.7204 GB, free: 0.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.5003, allocations: 91.27 kB / 0.7205 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5003, allocations: 0 / 0.7205 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004425/0.5008, allocations: 103.7 kB / 0.7206 GB, free: 444 kB / 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.001234/0.502, allocations: 0.9932 MB / 0.7216 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005178/0.5025, allocations: 199.8 kB / 0.7218 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5025, allocations: 0 / 0.7218 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.5028, allocations: 116 kB / 0.7219 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.5032, allocations: 38.12 kB / 0.7219 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.5041, allocations: 336.4 kB / 0.7222 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.5044, allocations: 0.6965 MB / 0.7229 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003104/0.5047, allocations: 60.84 kB / 0.723 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.5049, allocations: 35.41 kB / 0.723 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.5049, allocations: 0 / 0.723 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.5441, allocations: 7.95 MB / 0.7308 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.34, allocations: 12 kB / 0.7308 GB, free: 6.02 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.528154851985164]