Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001023/0.001023, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.00104/0.00104, allocations: 166.3 kB / 24.99 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9102/0.9102, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.748e-05, allocations: 10.31 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1582/0.1582, allocations: 66.85 MB / 339.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.163, allocations: 5.529 MB / 345.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1632, allocations: 11.94 kB / 345.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.1638, allocations: 337.8 kB / 345.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.1644, allocations: 0.5316 MB / 346.3 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.1775, allocations: 7.537 MB / 353.9 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.179, allocations: 1.563 MB / 355.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1792, allocations: 145.5 kB / 355.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007974/0.18, allocations: 0.8494 MB / 356.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.1805, allocations: 0.5337 MB / 357 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.1806, allocations: 80 kB / 357 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.1915, allocations: 9.586 MB / 366.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1917, allocations: 347.2 kB / 367 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.192, allocations: 347.4 kB / 367.3 MB, free: 3.117 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007248/0.1992, allocations: 6.742 MB / 374 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1992, allocations: 0 / 374 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1992, allocations: 0 / 374 MB, free: 12.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1993, allocations: 4 kB / 374 MB, free: 12.36 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002248/0.2015, allocations: 1.633 MB / 375.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2015, allocations: 12.03 kB / 375.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.2019, allocations: 151.3 kB / 375.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.2023, allocations: 398.3 kB / 376.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.2023, allocations: 45.31 kB / 376.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.2024, allocations: 72 kB / 376.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.2035, allocations: 0.8817 MB / 377.2 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.2036, allocations: 4 kB / 377.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.2036, allocations: 24 kB / 377.2 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.2036, allocations: 16 kB / 377.3 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.2044, allocations: 0.4916 MB / 377.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006327/0.2107, allocations: 3.888 MB / 381.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008511/0.2116, allocations: 470.9 kB / 382.1 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.2118, allocations: 209.8 kB / 382.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005061/0.2169, allocations: 2.629 MB / 384.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2169, allocations: 42.05 kB / 385 MB, free: 1.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.094e-06/0.2169, allocations: 4 kB / 385 MB, free: 1.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.004352/0.2213, allocations: 2.21 MB / 387.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2213, allocations: 60.41 kB / 387.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.2215, allocations: 324.1 kB / 387.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.2216, allocations: 45.7 kB / 387.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.2217, allocations: 291.8 kB / 387.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.2219, allocations: 321.2 kB / 388.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.222, allocations: 168.2 kB / 388.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2222, allocations: 0.5274 MB / 388.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.2224, allocations: 165.9 kB / 389.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.2229, allocations: 323.3 kB / 389.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.2237, allocations: 0.5302 MB / 389.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2237, allocations: 4 kB / 389.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001325/0.225, allocations: 0.8074 MB / 390.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.225, allocations: 8 kB / 390.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.225, allocations: 0 / 390.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.2255, allocations: 134.9 kB / 390.9 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.2261, allocations: 199.7 kB / 391.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.2279, allocations: 5.294 MB / 396.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.2281, allocations: 20 kB / 396.4 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.2281, allocations: 43.98 kB / 396.4 MB, free: 5.203 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.2283, allocations: 212.3 kB / 396.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.2286, allocations: 154.9 kB / 396.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.2298, allocations: 0.9637 MB / 397.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2298, allocations: 8 kB / 397.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2298, allocations: 3.938 kB / 397.7 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.231, allocations: 1.001 MB / 398.7 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.2326, allocations: 1.361 MB / 400.1 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2326, allocations: 0 / 400.1 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.233, allocations: 175.8 kB / 400.3 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009394/0.2339, allocations: 278.9 kB / 400.6 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.2339, allocations: 39.91 kB / 400.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005251/0.2345, allocations: 1.814 MB / 402.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2345, allocations: 7.938 kB / 402.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2358, allocations: 1.034 MB / 403.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2359, allocations: 43.77 kB / 403.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.2359, allocations: 28 kB / 403.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2362, allocations: 27.98 kB / 403.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.2363, allocations: 60.77 kB / 403.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/0.2363, allocations: 47.95 kB / 403.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.2364, allocations: 231 kB / 403.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2364, allocations: 0 / 403.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002836/0.2393, allocations: 1.423 MB / 405.3 MB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003254/0.2425, allocations: 1.91 MB / 407.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2436, allocations: 0.9142 MB / 408.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2436, allocations: 0.5625 kB / 408.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.2441, allocations: 342.5 kB / 408.5 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000885/0.2449, allocations: 364.5 kB / 408.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.2467, allocations: 1.339 MB / 410.2 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.2469, allocations: 173 kB / 410.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.2472, allocations: 172.9 kB / 410.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2474, allocations: 72.48 kB / 410.6 MB, free: 6.598 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2474, allocations: 0 / 410.6 MB, free: 6.598 MB / 362.7 MB Notification: Performance of Templates: time 0.1284/0.3757, allocations: 50.26 MB / 460.8 MB, free: 115 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.223481524037197]