Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.0009538/0.0009538, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.0009657/0.0009657, allocations: 163.9 kB / 25.75 MB, free: 8.523 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.8602/0.8602, allocations: 158.6 MB / 187.5 MB, free: 2.551 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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 251.1 MB, free: 3.891 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.54e-05, allocations: 2.312 kB / 251.1 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2216/0.2216, allocations: 143.9 MB / 395 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.2248, allocations: 3.087 MB / 398.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.2249, allocations: 7.938 kB / 398.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.2253, allocations: 59.59 kB / 398.1 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.2273, allocations: 1.057 MB / 399.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.2278, allocations: 203.4 kB / 399.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.2281, allocations: 354.5 kB / 399.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.2282, allocations: 9.312 kB / 399.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.2285, allocations: 195.5 kB / 399.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.2286, allocations: 107.6 kB / 400 MB, free: 3.246 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.2287, allocations: 12 kB / 400.1 MB, free: 3.234 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.2307, allocations: 1.301 MB / 401.4 MB, free: 1.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.857e-05/0.2308, allocations: 79.8 kB / 401.4 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2309, allocations: 83.81 kB / 401.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.2322, allocations: 1.001 MB / 402.5 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2322, allocations: 0 / 402.5 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2322, allocations: 0 / 402.5 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2322, allocations: 0 / 402.5 MB, free: 0.7656 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000796/0.233, allocations: 0.582 MB / 403.1 MB, free: 152 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.233, allocations: 11.98 kB / 403.1 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.2343, allocations: 260.2 kB / 403.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.2346, allocations: 188.4 kB / 403.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2346, allocations: 20.69 kB / 403.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.2347, allocations: 24.38 kB / 403.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.2352, allocations: 469.6 kB / 404.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2352, allocations: 3.938 kB / 404.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.2352, allocations: 12 kB / 404.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2352, allocations: 4 kB / 404.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.2356, allocations: 207.8 kB / 404.3 MB, free: 14.89 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.2368, allocations: 0.7556 MB / 405 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.2371, allocations: 198 kB / 405.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.2372, allocations: 83.34 kB / 405.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009193/0.2382, allocations: 306.8 kB / 405.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.2382, allocations: 54.19 kB / 405.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.2382, allocations: 0 / 405.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008944/0.2391, allocations: 329.9 kB / 406 MB, free: 13.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2391, allocations: 81.11 kB / 406.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.2392, allocations: 169.9 kB / 406.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.2393, allocations: 37.7 kB / 406.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.2393, allocations: 155.3 kB / 406.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.2394, allocations: 111 kB / 406.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.2395, allocations: 71.62 kB / 406.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2396, allocations: 0.4962 MB / 407.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.2397, allocations: 60.62 kB / 407.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2399, allocations: 177.5 kB / 407.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.2402, allocations: 272.9 kB / 407.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2402, allocations: 0 / 407.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004534/0.2407, allocations: 291.5 kB / 407.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2407, allocations: 8 kB / 407.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2407, allocations: 3.984 kB / 407.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2407, allocations: 7.938 kB / 407.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.241, allocations: 71.84 kB / 408 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.241, allocations: 4 kB / 408 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2411, allocations: 27.83 kB / 408 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.2411, allocations: 19.98 kB / 408 MB, free: 10.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001148/0.2413, allocations: 176.7 kB / 408.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2414, allocations: 31.84 kB / 408.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.2418, allocations: 282.9 kB / 408.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2418, allocations: 4 kB / 408.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2418, allocations: 0 / 408.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2418, allocations: 0 / 408.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.2423, allocations: 238.9 kB / 408.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2423, allocations: 0 / 408.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.2425, allocations: 55.91 kB / 408.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2425, allocations: 7.938 kB / 408.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.2425, allocations: 11.98 kB / 408.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2425, allocations: 3.938 kB / 408.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2425, allocations: 0 / 408.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.2431, allocations: 0.5573 MB / 409.4 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.2431, allocations: 15.84 kB / 409.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2431, allocations: 15.92 kB / 409.4 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.2433, allocations: 8 kB / 409.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.2434, allocations: 23.95 kB / 409.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.2434, allocations: 20.86 kB / 409.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.2435, allocations: 126.2 kB / 409.6 MB, free: 9.266 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2435, allocations: 0 / 409.6 MB, free: 9.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000706/0.2442, allocations: 227.5 kB / 409.8 MB, free: 9.043 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * 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.0008357/0.245, allocations: 450.3 kB / 410.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.2453, allocations: 204.6 kB / 410.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2453, allocations: 4.062 kB / 410.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.2455, allocations: 111.5 kB / 410.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.246, allocations: 96.75 kB / 410.6 MB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2472, allocations: 0.5698 MB / 411.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.819e-05/0.2473, allocations: 80.33 kB / 411.3 MB, free: 7.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.2475, allocations: 69.83 kB / 411.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.2476, allocations: 36.48 kB / 411.4 MB, free: 7.379 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2476, allocations: 0 / 411.4 MB, free: 7.379 MB / 346.7 MB Notification: Performance of Templates: time 0.01204/0.2597, allocations: 8.549 MB / 419.9 MB, free: 14.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.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: 3.068181073991582]