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.001325/0.001325, allocations: 124.2 kB / 18.5 MB, free: 4.578 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.001395/0.001395, allocations: 214.2 kB / 21.45 MB, free: 1.629 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.408/1.408, allocations: 230.4 MB / 254.7 MB, free: 15 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.2172/0.2172, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.002123/0.002123, allocations: 79.88 kB / 0.4916 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1179, allocations: 66.05 MB / 0.5561 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4076/0.5255, allocations: 154.8 MB / 0.7073 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.5271, allocations: 1.199 MB / 0.7085 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.5271, allocations: 0 / 0.7085 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.5273, allocations: 44.8 kB / 0.7086 GB, free: 5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.863e-05/0.5274, allocations: 23.78 kB / 0.7086 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.5286, allocations: 437.8 kB / 0.709 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.5287, allocations: 75.59 kB / 0.7091 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.5288, allocations: 4 kB / 0.7091 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.5289, allocations: 35.91 kB / 0.7091 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.5289, allocations: 23.92 kB / 0.7091 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.529, allocations: 0 / 0.7091 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.53, allocations: 0.5146 MB / 0.7096 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.53, allocations: 15.92 kB / 0.7097 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.5301, allocations: 23.88 kB / 0.7097 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.5306, allocations: 307 kB / 0.71 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5306, allocations: 4 kB / 0.71 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5306, allocations: 3.938 kB / 0.71 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5306, allocations: 7.938 kB / 0.71 GB, free: 3.547 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.0006232/0.5313, allocations: 410.8 kB / 0.7104 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5313, allocations: 8.031 kB / 0.7104 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.902e-05/0.5313, allocations: 4.188 kB / 0.7104 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.5313, allocations: 34.75 kB / 0.7104 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.5314, allocations: 4.938 kB / 0.7104 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.5315, allocations: 174.9 kB / 0.7106 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.5315, allocations: 7.938 kB / 0.7106 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.5316, allocations: 8 kB / 0.7106 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.5317, allocations: 73.61 kB / 0.7107 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5317, allocations: 3.938 kB / 0.7107 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5317, allocations: 4 kB / 0.7107 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.5317, allocations: 4 kB / 0.7107 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.106e-05/0.5318, allocations: 43.97 kB / 0.7107 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.5323, allocations: 377.9 kB / 0.7111 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.5325, allocations: 66.48 kB / 0.7112 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.5325, allocations: 16.86 kB / 0.7112 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/0.5344, allocations: 1.225 MB / 0.7124 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.5344, allocations: 38.44 kB / 0.7124 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.5344, allocations: 0 / 0.7124 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.00701/0.5414, allocations: 0.6618 MB / 0.713 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.5415, allocations: 55.41 kB / 0.7131 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.5416, allocations: 97.86 kB / 0.7132 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.5416, allocations: 25.7 kB / 0.7132 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.5417, allocations: 100.3 kB / 0.7133 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.5417, allocations: 47.59 kB / 0.7134 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.5418, allocations: 45.67 kB / 0.7134 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.542, allocations: 314.8 kB / 0.7137 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.5422, allocations: 83.88 kB / 0.7138 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.5424, allocations: 102.5 kB / 0.7139 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.5429, allocations: 212.6 kB / 0.7141 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5429, allocations: 0 / 0.7141 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005877/0.5435, allocations: 249.4 kB / 0.7143 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5435, allocations: 4 kB / 0.7143 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5435, allocations: 0 / 0.7143 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.5435, allocations: 4.562 kB / 0.7143 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.5442, allocations: 56 kB / 0.7144 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5442, allocations: 4 kB / 0.7144 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.5448, allocations: 12 kB / 0.7144 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.5448, allocations: 11.92 kB / 0.7144 GB, free: 14.51 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.0001743/0.545, allocations: 125.8 kB / 0.7145 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.545, allocations: 11.89 kB / 0.7145 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008188/0.5458, allocations: 336.4 kB / 0.7149 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5459, allocations: 7.938 kB / 0.7149 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.5459, allocations: 0 / 0.7149 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5459, allocations: 0 / 0.7149 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.5471, allocations: 0.7659 MB / 0.7156 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5471, allocations: 7.938 kB / 0.7156 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.5477, allocations: 43.95 kB / 0.7157 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5478, allocations: 0 / 0.7157 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.5478, allocations: 8 kB / 0.7157 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5478, allocations: 0 / 0.7157 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5478, allocations: 7.922 kB / 0.7157 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.5484, allocations: 359.2 kB / 0.716 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.5486, allocations: 109 kB / 0.7161 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.5486, allocations: 0 / 0.7161 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.5492, allocations: 12 kB / 0.7161 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.5492, allocations: 19.91 kB / 0.7162 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.5493, allocations: 9.75 kB / 0.7162 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.5493, allocations: 83.27 kB / 0.7162 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5493, allocations: 0 / 0.7162 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004853/0.5498, allocations: 103.7 kB / 0.7163 GB, free: 12.38 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.001367/0.5512, allocations: 1.002 MB / 0.7173 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000569/0.5517, allocations: 206.9 kB / 0.7175 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5517, allocations: 0 / 0.7175 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.552, allocations: 107.9 kB / 0.7176 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.5524, allocations: 41.83 kB / 0.7177 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.5533, allocations: 321.4 kB / 0.718 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5536, allocations: 0.6926 MB / 0.7186 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.554, allocations: 67.42 kB / 0.7187 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5542, allocations: 47.38 kB / 0.7188 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.5542, allocations: 0 / 0.7188 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.5777, allocations: 7.665 MB / 0.7262 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.755, allocations: 11.23 kB / 0.7263 GB, free: 2.234 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/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: 11.682132113026455]