Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009526/0.0009526, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8399/0.8399, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1302/0.1302, allocations: 32.38 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.942e-05, allocations: 6.078 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.26/0.26, allocations: 131.8 MB / 0.526 GB, free: 22.82 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2626, allocations: 3.303 MB / 0.5293 GB, free: 20.67 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.2626, allocations: 0 / 0.5293 GB, free: 20.67 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.2628, allocations: 33.91 kB / 0.5293 GB, free: 20.65 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.998e-05/0.2628, allocations: 23.41 kB / 0.5293 GB, free: 20.64 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.2639, allocations: 444.3 kB / 0.5297 GB, free: 20.42 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.2639, allocations: 71.91 kB / 0.5298 GB, free: 20.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.264, allocations: 6.578 kB / 0.5298 GB, free: 20.38 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.2641, allocations: 51.8 kB / 0.5299 GB, free: 20.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.2641, allocations: 27.64 kB / 0.5299 GB, free: 20.35 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2641, allocations: 2.219 kB / 0.5299 GB, free: 20.35 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.2648, allocations: 451 kB / 0.5303 GB, free: 20.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.2648, allocations: 16.25 kB / 0.5303 GB, free: 20.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.2649, allocations: 14.56 kB / 0.5304 GB, free: 20.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.2652, allocations: 336.7 kB / 0.5307 GB, free: 20.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2652, allocations: 3.938 kB / 0.5307 GB, free: 20.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2652, allocations: 0 / 0.5307 GB, free: 20.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2652, allocations: 4 kB / 0.5307 GB, free: 20.09 MB / 442.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.0004047/0.2657, allocations: 330.9 kB / 0.531 GB, free: 19.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2657, allocations: 10.5 kB / 0.531 GB, free: 19.78 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.2657, allocations: 38.78 kB / 0.531 GB, free: 19.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.2657, allocations: 4.5 kB / 0.531 GB, free: 19.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.666e-05/0.2658, allocations: 117.1 kB / 0.5312 GB, free: 19.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2658, allocations: 6.438 kB / 0.5312 GB, free: 19.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2658, allocations: 8.438 kB / 0.5312 GB, free: 19.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.2659, allocations: 69.09 kB / 0.5312 GB, free: 19.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.266, allocations: 1.344 kB / 0.5312 GB, free: 19.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.266, allocations: 9.438 kB / 0.5312 GB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.266, allocations: 1.406 kB / 0.5313 GB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.266, allocations: 51.14 kB / 0.5313 GB, free: 19.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.2663, allocations: 271.4 kB / 0.5316 GB, free: 19.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.2664, allocations: 59.88 kB / 0.5316 GB, free: 19.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.2664, allocations: 19.08 kB / 0.5316 GB, free: 19.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000735/0.2672, allocations: 269.6 kB / 0.5319 GB, free: 19.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.2672, allocations: 36.09 kB / 0.5319 GB, free: 19.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.2672, allocations: 3.938 kB / 0.5319 GB, free: 19.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.003289/0.2705, allocations: 0.6599 MB / 0.5326 GB, free: 18.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.2705, allocations: 56.88 kB / 0.5326 GB, free: 18.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.2706, allocations: 107.5 kB / 0.5327 GB, free: 18.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2706, allocations: 29.7 kB / 0.5328 GB, free: 18.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.2706, allocations: 93.22 kB / 0.5328 GB, free: 18.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.2706, allocations: 51.02 kB / 0.5329 GB, free: 18.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.2707, allocations: 44.59 kB / 0.5329 GB, free: 18.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.79e-05/0.2707, allocations: 318 kB / 0.5332 GB, free: 18.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2708, allocations: 80.22 kB / 0.5333 GB, free: 18.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.271, allocations: 110.2 kB / 0.5334 GB, free: 18.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.2712, allocations: 204.1 kB / 0.5336 GB, free: 18.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2712, allocations: 1.188 kB / 0.5336 GB, free: 18.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003312/0.2716, allocations: 248.4 kB / 0.5339 GB, free: 18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2716, allocations: 9.469 kB / 0.5339 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2716, allocations: 0 / 0.5339 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2716, allocations: 3.844 kB / 0.5339 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.2719, allocations: 60.44 kB / 0.5339 GB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2719, allocations: 1.281 kB / 0.5339 GB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.2721, allocations: 17.94 kB / 0.5339 GB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.2722, allocations: 12.08 kB / 0.534 GB, free: 17.98 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.436e-05/0.2722, allocations: 112.8 kB / 0.5341 GB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.2723, allocations: 14.52 kB / 0.5341 GB, free: 17.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.2727, allocations: 353.5 kB / 0.5344 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2727, allocations: 0 / 0.5344 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2727, allocations: 2.75 kB / 0.5344 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2727, allocations: 2.672 kB / 0.5344 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.2734, allocations: 0.7043 MB / 0.5351 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2734, allocations: 5 kB / 0.5351 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.2736, allocations: 44 kB / 0.5352 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.2736, allocations: 4 kB / 0.5352 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.2737, allocations: 9.891 kB / 0.5352 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2737, allocations: 6.375 kB / 0.5352 GB, free: 17.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2737, allocations: 0 / 0.5352 GB, free: 17.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.274, allocations: 358 kB / 0.5355 GB, free: 16.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.2741, allocations: 25.02 kB / 0.5355 GB, free: 16.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.2741, allocations: 2.906 kB / 0.5355 GB, free: 16.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.2743, allocations: 11.47 kB / 0.5356 GB, free: 16.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.2743, allocations: 14.94 kB / 0.5356 GB, free: 16.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.2744, allocations: 18.19 kB / 0.5356 GB, free: 16.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.743e-05/0.2744, allocations: 81.25 kB / 0.5357 GB, free: 16.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2744, allocations: 0 / 0.5357 GB, free: 16.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.2747, allocations: 100.7 kB / 0.5358 GB, free: 16.77 MB / 442.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 (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.0006675/0.2754, allocations: 1.011 MB / 0.5367 GB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.2757, allocations: 203.3 kB / 0.5369 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2757, allocations: 1.156 kB / 0.5369 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2759, allocations: 110.4 kB / 0.537 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2762, allocations: 37.55 kB / 0.5371 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.2768, allocations: 326.2 kB / 0.5374 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.2768, allocations: 80.73 kB / 0.5375 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.277, allocations: 66.39 kB / 0.5375 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.2772, allocations: 49.12 kB / 0.5376 GB, free: 15.49 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2772, allocations: 0 / 0.5376 GB, free: 15.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.298, allocations: 8.937 MB / 0.5463 GB, free: 12.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/7.11, allocations: 14.77 kB / 0.5463 GB, free: 12.95 MB / 442.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.990551244467497]