Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, allocations: 219.8 kB / 24.53 MB, free: 4.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.92 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 79.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3114, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2079/0.5193, allocations: 178 MB / 0.7354 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2983/0.8175, allocations: 5.36 MB / 0.7406 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.8181, allocations: 28.19 kB / 0.7406 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007709/0.8188, allocations: 329.6 kB / 0.7409 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.8221, allocations: 1.375 MB / 0.7423 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.8245, allocations: 1.087 MB / 0.7433 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.8266, allocations: 1.879 MB / 0.7452 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005234/0.8271, allocations: 395.5 kB / 0.7456 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.8292, allocations: 1.116 MB / 0.7466 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.8303, allocations: 0.8028 MB / 0.7474 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.77e-05/0.8304, allocations: 61.25 kB / 0.7475 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.8317, allocations: 0.6395 MB / 0.7481 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.8319, allocations: 276.2 kB / 0.7484 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.8323, allocations: 394.7 kB / 0.7488 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.8337, allocations: 1.3 MB / 0.75 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8337, allocations: 3.75 kB / 0.75 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8337, allocations: 5.078 kB / 0.75 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.8337, allocations: 0 / 0.75 GB, free: 1.609 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002048/0.8358, allocations: 1.048 MB / 0.7511 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.8358, allocations: 8.188 kB / 0.7511 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.291e-05/0.8358, allocations: 22.44 kB / 0.7511 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.8359, allocations: 95.44 kB / 0.7512 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.8367, allocations: 143.6 kB / 0.7513 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007731/0.8374, allocations: 479.1 kB / 0.7518 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.8376, allocations: 156.1 kB / 0.7519 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/0.8377, allocations: 53.48 kB / 0.752 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.8387, allocations: 0.8135 MB / 0.7528 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.8387, allocations: 2.844 kB / 0.7528 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/0.8388, allocations: 25.98 kB / 0.7528 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/0.8388, allocations: 41.08 kB / 0.7528 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008949/0.8397, allocations: 0.6185 MB / 0.7534 GB, free: 16.45 MB / 0.5762 GB 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.004657/0.8444, allocations: 3.892 MB / 0.7572 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.8449, allocations: 347.6 kB / 0.7576 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.8451, allocations: 163.2 kB / 0.7577 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.922e-05/0.8452, allocations: 17.16 kB / 0.7577 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.8453, allocations: 48.22 kB / 0.7578 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.8453, allocations: 0 / 0.7578 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00536/0.8506, allocations: 1.598 MB / 0.7593 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.8507, allocations: 131.5 kB / 0.7595 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.8514, allocations: 0.6116 MB / 0.7601 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.8514, allocations: 32.39 kB / 0.7601 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.8516, allocations: 383.3 kB / 0.7605 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.296e-05/0.8517, allocations: 144.7 kB / 0.7606 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.8519, allocations: 154.6 kB / 0.7608 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8521, allocations: 384.2 kB / 0.7611 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.8524, allocations: 202.6 kB / 0.7613 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.853, allocations: 0.5144 MB / 0.7618 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.8539, allocations: 0.75 MB / 0.7625 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8539, allocations: 2.281 kB / 0.7625 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001348/0.8553, allocations: 0.8764 MB / 0.7634 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.8553, allocations: 11.84 kB / 0.7634 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.8553, allocations: 8.5 kB / 0.7634 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.8567, allocations: 331 kB / 0.7637 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.8571, allocations: 123.2 kB / 0.7639 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.8582, allocations: 0.9269 MB / 0.7648 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.8587, allocations: 33.94 kB / 0.7648 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.8588, allocations: 65.97 kB / 0.7649 GB, free: 11.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003573/0.8591, allocations: 252 kB / 0.7651 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.8593, allocations: 67.67 kB / 0.7652 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.8607, allocations: 0.8617 MB / 0.766 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.8607, allocations: 3.469 kB / 0.766 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8607, allocations: 2.469 kB / 0.766 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8607, allocations: 0 / 0.766 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.8625, allocations: 1.216 MB / 0.7672 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.8625, allocations: 0.9062 kB / 0.7672 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009259/0.8634, allocations: 211.5 kB / 0.7674 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.381e-05/0.8635, allocations: 33.5 kB / 0.7674 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.8636, allocations: 21.64 kB / 0.7675 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.8656, allocations: 2.665 MB / 0.7701 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8656, allocations: 5.078 kB / 0.7701 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.8667, allocations: 0.8133 MB / 0.7709 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.867, allocations: 125.3 kB / 0.771 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.8671, allocations: 7.969 kB / 0.771 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.8674, allocations: 17.05 kB / 0.771 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.8675, allocations: 46.14 kB / 0.771 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.8676, allocations: 41.8 kB / 0.7711 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000424/0.868, allocations: 442.3 kB / 0.7715 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.868, allocations: 0 / 0.7715 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008529/0.8688, allocations: 255.6 kB / 0.7717 GB, free: 7.566 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * Without analytic Jacobian (size): 0 systems 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.001925/0.8708, allocations: 1.544 MB / 0.7733 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.8719, allocations: 0.5365 MB / 0.7738 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8719, allocations: 4.438 kB / 0.7738 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.8729, allocations: 405.9 kB / 0.7742 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.8747, allocations: 378 kB / 0.7745 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007873/0.8825, allocations: 6.323 MB / 0.7807 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.8831, allocations: 0.9345 MB / 0.7816 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009829/0.884, allocations: 467.3 kB / 0.7821 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.8845, allocations: 282.7 kB / 0.7823 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.8845, allocations: 0 / 0.7823 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05731/0.9418, allocations: 25.05 MB / 0.8068 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.56, allocations: 8 kB / 0.8068 GB, free: 6.836 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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: 17.837563896959182]