Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.001258/0.001258, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001552/0.001552, allocations: 206 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 46.96 MB / 360.9 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 63.91 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3403, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1924/0.5328, allocations: 153.8 MB / 0.7108 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007594/0.5404, allocations: 4.918 MB / 0.7156 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006629/0.541, allocations: 27.75 kB / 0.7157 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000849/0.5419, allocations: 310 kB / 0.7159 GB, free: 4.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.5457, allocations: 1.368 MB / 0.7173 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.5488, allocations: 1.059 MB / 0.7183 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002564/0.5514, allocations: 1.879 MB / 0.7202 GB, free: 260 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007434/0.5522, allocations: 393.6 kB / 0.7205 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.5545, allocations: 1.129 MB / 0.7216 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.5559, allocations: 0.7784 MB / 0.7224 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.556, allocations: 60 kB / 0.7224 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.5573, allocations: 0.5735 MB / 0.723 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.5576, allocations: 271.1 kB / 0.7233 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.558, allocations: 334.6 kB / 0.7236 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.5597, allocations: 1.304 MB / 0.7249 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5597, allocations: 4 kB / 0.7249 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5597, allocations: 0 / 0.7249 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.5597, allocations: 0 / 0.7249 GB, free: 11.41 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.002194/0.5619, allocations: 1.038 MB / 0.7259 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5619, allocations: 8.031 kB / 0.7259 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.5621, allocations: 102.5 kB / 0.726 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/0.5629, allocations: 151.4 kB / 0.7261 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.5638, allocations: 477.3 kB / 0.7266 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.564, allocations: 155.8 kB / 0.7267 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.5641, allocations: 48 kB / 0.7268 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.5655, allocations: 1.147 MB / 0.7279 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.5655, allocations: 3.938 kB / 0.7279 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.5656, allocations: 23.94 kB / 0.7279 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.5657, allocations: 40.92 kB / 0.728 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.5667, allocations: 0.6166 MB / 0.7286 GB, free: 7.375 MB / 0.5606 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.004484/0.5712, allocations: 3.304 MB / 0.7318 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/0.5718, allocations: 339.6 kB / 0.7321 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.5721, allocations: 157.3 kB / 0.7323 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-05/0.5722, allocations: 12.28 kB / 0.7323 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.5722, allocations: 42.83 kB / 0.7323 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.665e-06/0.5722, allocations: 0 / 0.7323 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00562/0.5778, allocations: 1.613 MB / 0.7339 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.5779, allocations: 136.5 kB / 0.734 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/0.5787, allocations: 0.6288 MB / 0.7346 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.5788, allocations: 29.7 kB / 0.7347 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.579, allocations: 379.8 kB / 0.735 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.5792, allocations: 150.7 kB / 0.7352 GB, free: 360 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.5794, allocations: 166.6 kB / 0.7353 GB, free: 188 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2345/0.8139, allocations: 374.8 kB / 0.7357 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.8146, allocations: 195.6 kB / 0.7359 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.8152, allocations: 0.5908 MB / 0.7365 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8162, allocations: 0.7508 MB / 0.7372 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.8162, allocations: 6.562 kB / 0.7372 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001731/0.8179, allocations: 0.8761 MB / 0.738 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.8179, allocations: 8.25 kB / 0.7381 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.818, allocations: 11.59 kB / 0.7381 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.8194, allocations: 314.7 kB / 0.7384 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.8198, allocations: 127.1 kB / 0.7385 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009842/0.8208, allocations: 0.9352 MB / 0.7394 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/0.8214, allocations: 29.61 kB / 0.7394 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-05/0.8215, allocations: 64.12 kB / 0.7395 GB, free: 173.5 MB / 0.5606 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.0004046/0.8219, allocations: 244.1 kB / 0.7397 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.822, allocations: 70.78 kB / 0.7398 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.8238, allocations: 0.8652 MB / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.8238, allocations: 4.344 kB / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8238, allocations: 0 / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.8238, allocations: 2.062 kB / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.8257, allocations: 1.144 MB / 0.7418 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.8257, allocations: 5.781 kB / 0.7418 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.8267, allocations: 208.4 kB / 0.742 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.794e-05/0.8268, allocations: 23.58 kB / 0.742 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.8268, allocations: 18.06 kB / 0.742 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.8284, allocations: 2.674 MB / 0.7446 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8284, allocations: 7.531 kB / 0.7446 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.8294, allocations: 0.8242 MB / 0.7454 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.8296, allocations: 115.6 kB / 0.7455 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.8297, allocations: 11.56 kB / 0.7455 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.8301, allocations: 16 kB / 0.7456 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.8302, allocations: 47.3 kB / 0.7456 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.8303, allocations: 47.36 kB / 0.7457 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000409/0.8307, allocations: 437.4 kB / 0.7461 GB, free: 168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8307, allocations: 4 kB / 0.7461 GB, free: 168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008449/0.8315, allocations: 257.9 kB / 0.7463 GB, free: 167.7 MB / 0.5606 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.001564/0.8331, allocations: 1.524 MB / 0.7478 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009915/0.8341, allocations: 0.5348 MB / 0.7483 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8341, allocations: 3.938 kB / 0.7483 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008624/0.8349, allocations: 402.2 kB / 0.7487 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.8364, allocations: 375.9 kB / 0.7491 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006493/0.8429, allocations: 6.34 MB / 0.7553 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.8431, allocations: 341.5 kB / 0.7556 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008953/0.844, allocations: 458.2 kB / 0.756 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/0.8444, allocations: 287.3 kB / 0.7563 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.8444, allocations: 0 / 0.7563 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05059/0.895, allocations: 25.88 MB / 0.7816 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.19, allocations: 0 / 0.7816 GB, free: 131.7 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.336760344012873]