Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.00116/0.00116, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005894/0.005894, allocations: 161.9 kB / 24.69 MB, free: 9.434 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.832/0.832, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 298.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.934e-05, allocations: 2.281 kB / 298.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2235/0.2235, allocations: 124 MB / 422.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.2254, allocations: 1.632 MB / 424.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.2255, allocations: 7.938 kB / 424.2 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.2261, allocations: 170.8 kB / 424.3 MB, free: 484 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.2265, allocations: 349.8 kB / 424.7 MB, free: 132 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006783/0.2272, allocations: 427.2 kB / 425.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006698/0.2279, allocations: 0.8481 MB / 425.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.228, allocations: 80.86 kB / 426 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000588/0.2286, allocations: 0.5063 MB / 426.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.2289, allocations: 299.2 kB / 426.8 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.229, allocations: 32 kB / 426.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.2291, allocations: 123.7 kB / 427 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.2292, allocations: 107.6 kB / 427.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2293, allocations: 143.8 kB / 427.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.2297, allocations: 0.5025 MB / 427.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2297, allocations: 1.312 kB / 427.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2297, allocations: 0 / 427.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2297, allocations: 4 kB / 427.7 MB, free: 13.08 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005898/0.2303, allocations: 0.5207 MB / 428.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2304, allocations: 15.98 kB / 428.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.2304, allocations: 62.73 kB / 428.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.2306, allocations: 44.73 kB / 428.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.2309, allocations: 217.3 kB / 428.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2309, allocations: 20.88 kB / 428.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.231, allocations: 24.38 kB / 428.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.2314, allocations: 0.5237 MB / 429.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2314, allocations: 384 / 429.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.2314, allocations: 15.94 kB / 429.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2314, allocations: 13.97 kB / 429.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.2316, allocations: 197.8 kB / 429.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.2327, allocations: 0.9444 MB / 430.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.233, allocations: 186.6 kB / 430.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.2333, allocations: 89.14 kB / 430.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.914e-05/0.2334, allocations: 19.98 kB / 430.6 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2334, allocations: 34.56 kB / 430.6 MB, free: 9.953 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.2334, allocations: 4 kB / 430.6 MB, free: 9.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.001472/0.2349, allocations: 0.8112 MB / 431.4 MB, free: 9.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.2349, allocations: 55.41 kB / 431.5 MB, free: 9.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2351, allocations: 261.8 kB / 431.8 MB, free: 8.766 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2351, allocations: 29.7 kB / 431.8 MB, free: 8.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.2352, allocations: 180.5 kB / 432 MB, free: 8.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.2352, allocations: 99.16 kB / 432.1 MB, free: 8.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.2353, allocations: 61.7 kB / 432.1 MB, free: 8.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.2354, allocations: 334.8 kB / 432.4 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.2355, allocations: 83.95 kB / 432.5 MB, free: 7.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.2356, allocations: 183.7 kB / 432.7 MB, free: 7.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.2359, allocations: 287.8 kB / 433 MB, free: 7.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2359, allocations: 8 kB / 433 MB, free: 7.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003901/0.2363, allocations: 370.7 kB / 433.4 MB, free: 7.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2363, allocations: 8 kB / 433.4 MB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2363, allocations: 1.031 kB / 433.4 MB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.2364, allocations: 41.7 kB / 433.4 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.2366, allocations: 79.89 kB / 433.5 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2378, allocations: 2.547 MB / 436 MB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.2379, allocations: 8 kB / 436 MB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2379, allocations: 19.98 kB / 436.1 MB, free: 4.109 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.2381, allocations: 157.7 kB / 436.2 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.2381, allocations: 31.8 kB / 436.2 MB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.2385, allocations: 273.8 kB / 436.5 MB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.2385, allocations: 8 kB / 436.5 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2385, allocations: 0 / 436.5 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003329/0.2388, allocations: 0.5438 MB / 437.1 MB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009325/0.2397, allocations: 0.6165 MB / 437.7 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2397, allocations: 0 / 437.7 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.2399, allocations: 63.84 kB / 437.7 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.682e-05/0.2399, allocations: 20.88 kB / 437.8 MB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.24, allocations: 4 kB / 437.8 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005495/0.2405, allocations: 1.268 MB / 439 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2405, allocations: 0.875 kB / 439 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.2409, allocations: 442.2 kB / 439.5 MB, free: 404 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.2409, allocations: 27.94 kB / 439.5 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.241, allocations: 4 kB / 439.5 MB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2411, allocations: 11.94 kB / 439.5 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.2411, allocations: 19.95 kB / 439.5 MB, free: 340 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2411, allocations: 15.98 kB / 439.5 MB, free: 324 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.2412, allocations: 181.2 kB / 439.7 MB, free: 144 kB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2412, allocations: 0 / 439.7 MB, free: 144 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.2415, allocations: 103.9 kB / 439.8 MB, free: 40 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007556/0.2423, allocations: 1.02 MB / 440.8 MB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.2428, allocations: 441.8 kB / 441.3 MB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2428, allocations: 192 / 441.3 MB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2429, allocations: 214.5 kB / 441.5 MB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.2435, allocations: 177.7 kB / 441.7 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.2462, allocations: 3.032 MB / 444.7 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2464, allocations: 159.9 kB / 444.8 MB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.2465, allocations: 62.86 kB / 444.9 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.2466, allocations: 88.47 kB / 445 MB, free: 10.61 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2466, allocations: 0 / 445 MB, free: 10.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.2797, allocations: 10.55 MB / 455.5 MB, free: 15.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.333, allocations: 3.906 kB / 455.5 MB, free: 15.99 MB / 426.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: 9.908427283167839]