Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0008753/0.0008753, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009364/0.0009364, allocations: 163 kB / 25.45 MB, free: 8.855 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.8617/0.8617, allocations: 158.6 MB / 187.2 MB, free: 3.051 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: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.196e-05, allocations: 6.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03575/0.03577, allocations: 45.45 MB / 345.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004863/0.04064, allocations: 4.697 MB / 349.9 MB, free: 4.578 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.04085, allocations: 7.938 kB / 349.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.04152, allocations: 234.5 kB / 350.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005337/0.04205, allocations: 389.5 kB / 350.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1593/0.2014, allocations: 6.847 MB / 357.3 MB, free: 16.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.2025, allocations: 1.107 MB / 358.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.2027, allocations: 99.84 kB / 358.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.2065, allocations: 3.763 MB / 362.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.2068, allocations: 378.8 kB / 362.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.467e-05/0.2069, allocations: 59.56 kB / 362.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.2176, allocations: 9.214 MB / 371.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.2178, allocations: 241.7 kB / 372.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.218, allocations: 236.9 kB / 372.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006795/0.2248, allocations: 6.646 MB / 379 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2248, allocations: 0 / 379 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2248, allocations: 3.219 kB / 379 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.2248, allocations: 0 / 379 MB, free: 13.38 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00194/0.2267, allocations: 1.311 MB / 380.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2267, allocations: 16.61 kB / 380.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.2269, allocations: 61.33 kB / 380.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.2272, allocations: 304.7 kB / 380.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2273, allocations: 38.47 kB / 380.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.2273, allocations: 47.17 kB / 380.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.228, allocations: 0.888 MB / 381.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.228, allocations: 0 / 381.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.2281, allocations: 22.81 kB / 381.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2281, allocations: 10.5 kB / 381.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.2288, allocations: 0.7378 MB / 382.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.234, allocations: 3.586 MB / 386.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.2347, allocations: 0.5165 MB / 386.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2349, allocations: 237.7 kB / 386.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004058/0.2389, allocations: 2.57 MB / 389.4 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.239, allocations: 46.5 kB / 389.4 MB, free: 7.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.714e-06/0.239, allocations: 0 / 389.4 MB, free: 7.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.002715/0.2417, allocations: 1.89 MB / 391.3 MB, free: 5.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.2417, allocations: 59.91 kB / 391.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2418, allocations: 265.6 kB / 391.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2419, allocations: 37.7 kB / 391.7 MB, free: 5.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.2419, allocations: 213.2 kB / 391.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.242, allocations: 200.2 kB / 392.1 MB, free: 5.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.2421, allocations: 114.3 kB / 392.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.2421, allocations: 342.8 kB / 392.5 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.2423, allocations: 245.2 kB / 392.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.2427, allocations: 340.4 kB / 393.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.2433, allocations: 0.6019 MB / 393.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2433, allocations: 4 kB / 393.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009005/0.2442, allocations: 0.7435 MB / 394.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2442, allocations: 11.94 kB / 394.5 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2442, allocations: 4 kB / 394.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.2444, allocations: 106.8 kB / 394.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.2447, allocations: 128.7 kB / 394.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.2458, allocations: 3.213 MB / 397.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.2459, allocations: 23.09 kB / 397.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.246, allocations: 31.98 kB / 398 MB, free: 15.03 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0001583/0.2461, allocations: 187.7 kB / 398.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.2463, allocations: 47.7 kB / 398.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.2472, allocations: 0.8045 MB / 399 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2472, allocations: 8 kB / 399 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2472, allocations: 7.938 kB / 399 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007101/0.2479, allocations: 0.764 MB / 399.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2491, allocations: 1.131 MB / 400.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2491, allocations: 0 / 400.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.2494, allocations: 98.7 kB / 401 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.2498, allocations: 155.8 kB / 401.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.2498, allocations: 15.98 kB / 401.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002398/0.2501, allocations: 0.6445 MB / 401.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2501, allocations: 0 / 401.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009825/0.251, allocations: 0.8986 MB / 402.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.2511, allocations: 39.8 kB / 402.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2511, allocations: 16.09 kB / 402.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2513, allocations: 15.98 kB / 402.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2513, allocations: 36.44 kB / 402.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.2514, allocations: 38.97 kB / 402.9 MB, free: 9.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.2515, allocations: 221.1 kB / 403.1 MB, free: 9.754 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2515, allocations: 0 / 403.1 MB, free: 9.754 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002956/0.2545, allocations: 1.317 MB / 404.4 MB, free: 8.434 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003233/0.2577, allocations: 1.869 MB / 406.3 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008749/0.2586, allocations: 0.7813 MB / 407 MB, free: 5.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2586, allocations: 4 kB / 407 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.2589, allocations: 281 kB / 407.3 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.2595, allocations: 233.2 kB / 407.5 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2607, allocations: 1.036 MB / 408.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.2608, allocations: 233.4 kB / 408.8 MB, free: 4.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.261, allocations: 72.47 kB / 408.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.261, allocations: 0 / 408.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of Templates: time 0.03081/0.2918, allocations: 35.03 MB / 443.9 MB, free: 0.9922 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 10.617342236451805]