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.001316/0.001316, allocations: 117.8 kB / 18.5 MB, free: 4.602 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.00152/0.00152, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.454/1.454, allocations: 230.2 MB / 254.5 MB, free: 15.29 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.2208/0.2208, allocations: 46.9 MB / 357.4 MB, free: 10.6 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 79.86 kB / 0.4912 GB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1287, allocations: 65.99 MB / 0.5557 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4793/0.608, allocations: 154.8 MB / 0.7069 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.6097, allocations: 1.203 MB / 0.7081 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.6097, allocations: 0 / 0.7081 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.6099, allocations: 36.81 kB / 0.7081 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.6099, allocations: 27.77 kB / 0.7081 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.6113, allocations: 437.8 kB / 0.7085 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.6115, allocations: 71.59 kB / 0.7086 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.6115, allocations: 4 kB / 0.7086 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.6116, allocations: 27.92 kB / 0.7086 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.6117, allocations: 35.78 kB / 0.7087 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.6117, allocations: 4 kB / 0.7087 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.6129, allocations: 0.5137 MB / 0.7092 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.6129, allocations: 4 kB / 0.7092 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.613, allocations: 31.86 kB / 0.7092 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.6135, allocations: 321.8 kB / 0.7095 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6135, allocations: 0 / 0.7095 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6135, allocations: 0 / 0.7095 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6136, allocations: 0 / 0.7095 GB, free: 4.539 MB / 0.5137 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.0006784/0.6142, allocations: 410.8 kB / 0.7099 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.6143, allocations: 8.031 kB / 0.7099 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.6143, allocations: 38.75 kB / 0.7099 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.6144, allocations: 13.05 kB / 0.71 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.6145, allocations: 174.9 kB / 0.7101 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.6146, allocations: 8 kB / 0.7101 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.6146, allocations: 4 kB / 0.7101 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.6147, allocations: 69.61 kB / 0.7102 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6148, allocations: 0 / 0.7102 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.6148, allocations: 4 kB / 0.7102 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6148, allocations: 4 kB / 0.7102 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.6149, allocations: 55.89 kB / 0.7103 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.6154, allocations: 373.9 kB / 0.7106 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.6156, allocations: 58.5 kB / 0.7107 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.6156, allocations: 20.84 kB / 0.7107 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/0.6176, allocations: 1.221 MB / 0.7119 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.6177, allocations: 42.48 kB / 0.7119 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.6177, allocations: 4 kB / 0.7119 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.006733/0.6244, allocations: 0.654 MB / 0.7126 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.6245, allocations: 51.41 kB / 0.7126 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.6246, allocations: 105.8 kB / 0.7127 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.6246, allocations: 29.7 kB / 0.7128 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.6247, allocations: 88.31 kB / 0.7128 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.6247, allocations: 51.59 kB / 0.7129 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.6248, allocations: 45.61 kB / 0.7129 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.625, allocations: 322.8 kB / 0.7132 GB, free: 244 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.6252, allocations: 79.95 kB / 0.7133 GB, free: 164 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.6254, allocations: 107.6 kB / 0.7134 GB, free: 48 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.6259, allocations: 194.5 kB / 0.7136 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6259, allocations: 7.938 kB / 0.7136 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005847/0.6265, allocations: 244.1 kB / 0.7138 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.6265, allocations: 8 kB / 0.7138 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6265, allocations: 0 / 0.7138 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.6266, allocations: 3.938 kB / 0.7139 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.6272, allocations: 55.94 kB / 0.7139 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.6272, allocations: 3.938 kB / 0.7139 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.6277, allocations: 12 kB / 0.7139 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.6278, allocations: 25.47 kB / 0.7139 GB, free: 15.49 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.0001846/0.628, allocations: 117.8 kB / 0.7141 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.628, allocations: 7.953 kB / 0.7141 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/0.6289, allocations: 341.3 kB / 0.7144 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.629, allocations: 4 kB / 0.7144 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.629, allocations: 5.172 kB / 0.7144 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.629, allocations: 3.984 kB / 0.7144 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.6304, allocations: 0.7631 MB / 0.7151 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6304, allocations: 0 / 0.7151 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.631, allocations: 47.95 kB / 0.7152 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.631, allocations: 4 kB / 0.7152 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.631, allocations: 7.984 kB / 0.7152 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.631, allocations: 4 kB / 0.7152 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/0.631, allocations: 7.688 kB / 0.7152 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000647/0.6317, allocations: 351.3 kB / 0.7156 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.6318, allocations: 105 kB / 0.7157 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.6318, allocations: 4 kB / 0.7157 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.6323, allocations: 8 kB / 0.7157 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.6324, allocations: 27.84 kB / 0.7157 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.6324, allocations: 11.98 kB / 0.7157 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.6325, allocations: 79.28 kB / 0.7158 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6325, allocations: 0 / 0.7158 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005256/0.633, allocations: 107.7 kB / 0.7159 GB, free: 13.37 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.00133/0.6343, allocations: 0.9904 MB / 0.7168 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.6349, allocations: 212.3 kB / 0.717 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6349, allocations: 0 / 0.717 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.6351, allocations: 114.8 kB / 0.7172 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.6356, allocations: 32.67 kB / 0.7172 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.6365, allocations: 325.5 kB / 0.7175 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.637, allocations: 0.6926 MB / 0.7182 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003401/0.6373, allocations: 68.67 kB / 0.7182 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.6375, allocations: 51.39 kB / 0.7183 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.6375, allocations: 0 / 0.7183 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.6687, allocations: 7.624 MB / 0.7257 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.955, allocations: 21.31 kB / 0.7258 GB, free: 3.238 MB / 0.5294 GB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.931937012355775]