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.001291/0.001291, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001719/0.001719, allocations: 210.9 kB / 24.52 MB, free: 3.941 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.401/1.401, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.2126/0.2126, allocations: 46.94 MB / 361.6 MB, free: 3.945 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.002192/0.002192, allocations: 79.86 kB / 0.4969 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3, allocations: 66.1 MB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1602/0.4603, allocations: 133.2 MB / 0.6915 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.4619, allocations: 1.067 MB / 0.6925 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.4619, allocations: 0 / 0.6925 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.4621, allocations: 35.81 kB / 0.6926 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.4621, allocations: 27.77 kB / 0.6926 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.4634, allocations: 425.7 kB / 0.693 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.4635, allocations: 67.61 kB / 0.6931 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.4636, allocations: 8 kB / 0.6931 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.4637, allocations: 35.91 kB / 0.6931 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.4637, allocations: 23.86 kB / 0.6931 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4637, allocations: 4 kB / 0.6931 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.4648, allocations: 486.7 kB / 0.6936 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.4648, allocations: 4 kB / 0.6936 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.4649, allocations: 23.88 kB / 0.6936 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.4654, allocations: 301.2 kB / 0.6939 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4654, allocations: 0 / 0.6939 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4654, allocations: 4 kB / 0.6939 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4654, allocations: 4 kB / 0.6939 GB, free: 11.87 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.00055/0.466, allocations: 337.6 kB / 0.6942 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.466, allocations: 11.97 kB / 0.6942 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2e-05/0.466, allocations: 4.188 kB / 0.6942 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.466, allocations: 34.75 kB / 0.6943 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.4661, allocations: 8.5 kB / 0.6943 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.4662, allocations: 117.1 kB / 0.6944 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4662, allocations: 0 / 0.6944 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4662, allocations: 7.984 kB / 0.6944 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.4664, allocations: 81.67 kB / 0.6945 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4664, allocations: 0 / 0.6945 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4664, allocations: 0 / 0.6945 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4664, allocations: 3.938 kB / 0.6945 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/0.4665, allocations: 55.91 kB / 0.6945 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.4669, allocations: 271.9 kB / 0.6948 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.467, allocations: 58.48 kB / 0.6949 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.4671, allocations: 24.8 kB / 0.6949 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.4684, allocations: 255.7 kB / 0.6951 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4684, allocations: 38.55 kB / 0.6952 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.4684, allocations: 0 / 0.6952 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006903/0.4753, allocations: 0.6604 MB / 0.6958 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4754, allocations: 51.41 kB / 0.6959 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.4754, allocations: 109.8 kB / 0.696 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.4755, allocations: 29.7 kB / 0.696 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.4755, allocations: 88.38 kB / 0.6961 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.4756, allocations: 51.53 kB / 0.6961 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4757, allocations: 41.67 kB / 0.6962 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4759, allocations: 323.3 kB / 0.6965 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4761, allocations: 79.95 kB / 0.6965 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.4763, allocations: 106.5 kB / 0.6967 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.4768, allocations: 198.5 kB / 0.6968 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4768, allocations: 4 kB / 0.6968 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005708/0.4773, allocations: 245.5 kB / 0.6971 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4773, allocations: 7.938 kB / 0.6971 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.4773, allocations: 4 kB / 0.6971 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4774, allocations: 3.984 kB / 0.6971 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.478, allocations: 55.94 kB / 0.6971 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.478, allocations: 64 / 0.6971 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.4786, allocations: 16 kB / 0.6972 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.4787, allocations: 19.97 kB / 0.6972 GB, free: 8.312 MB / 0.5294 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.0001234/0.4788, allocations: 123 kB / 0.6973 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.4788, allocations: 7.953 kB / 0.6973 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/0.4796, allocations: 340.2 kB / 0.6976 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.4796, allocations: 3.984 kB / 0.6976 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4797, allocations: 4 kB / 0.6976 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4797, allocations: 3.938 kB / 0.6976 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.4808, allocations: 0.7155 MB / 0.6983 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4808, allocations: 256 / 0.6983 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.4814, allocations: 43.91 kB / 0.6984 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.4814, allocations: 7.938 kB / 0.6984 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.4814, allocations: 11.98 kB / 0.6984 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4814, allocations: 7.938 kB / 0.6984 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4814, allocations: 0 / 0.6984 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.482, allocations: 355.3 kB / 0.6987 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.4821, allocations: 27.91 kB / 0.6988 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.4822, allocations: 0 / 0.6988 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.4827, allocations: 19.92 kB / 0.6988 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.4827, allocations: 11.97 kB / 0.6988 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.4828, allocations: 12 kB / 0.6988 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.4828, allocations: 83.27 kB / 0.6989 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4828, allocations: 4 kB / 0.6989 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004229/0.4832, allocations: 103.7 kB / 0.699 GB, free: 6.332 MB / 0.5294 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.001201/0.4844, allocations: 0.9996 MB / 0.7 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000522/0.485, allocations: 203.8 kB / 0.7002 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.485, allocations: 0 / 0.7002 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.4852, allocations: 107.9 kB / 0.7003 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.4856, allocations: 32.03 kB / 0.7003 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.4864, allocations: 336.4 kB / 0.7006 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.909e-05/0.4865, allocations: 79.56 kB / 0.7007 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003169/0.4868, allocations: 64.84 kB / 0.7008 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.4871, allocations: 47.38 kB / 0.7008 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.4871, allocations: 0 / 0.7008 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.5168, allocations: 8.531 MB / 0.7091 GB, free: 11.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.49, allocations: 3.938 kB / 0.7091 GB, free: 11.98 MB / 0.545 GB " [Timeout remaining time 648] (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.424842662992887]