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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00161/0.00161, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 216.8 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.9 MB / 359.9 MB, free: 4.988 MB / 286.1 MB [Timeout remaining time 89] 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 87.84 kB / 0.495 GB, free: 8.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3903, allocations: 65.99 MB / 0.5594 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2391/0.6294, allocations: 177.8 MB / 0.7331 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4856/1.115, allocations: 5.347 MB / 0.7383 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00095/1.116, allocations: 23.45 kB / 0.7383 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/1.117, allocations: 322.4 kB / 0.7386 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004371/1.121, allocations: 1.356 MB / 0.7399 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004028/1.125, allocations: 1.073 MB / 0.741 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002965/1.128, allocations: 1.861 MB / 0.7428 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006721/1.129, allocations: 415.8 kB / 0.7432 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/1.132, allocations: 1.094 MB / 0.7443 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/1.133, allocations: 0.8056 MB / 0.7451 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/1.133, allocations: 63.03 kB / 0.7451 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/1.135, allocations: 0.6349 MB / 0.7457 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/1.135, allocations: 272.8 kB / 0.746 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/1.136, allocations: 398.5 kB / 0.7464 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/1.137, allocations: 1.305 MB / 0.7477 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.137, allocations: 1.062 kB / 0.7477 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/1.137, allocations: 3.188 kB / 0.7477 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.29e-05/1.137, allocations: 0 / 0.7477 GB, free: 1.621 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.002291/1.14, allocations: 1.125 MB / 0.7488 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.14, allocations: 8.469 kB / 0.7488 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007779/1.141, allocations: 136.8 kB / 0.7489 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/1.141, allocations: 0.5345 MB / 0.7494 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.142, allocations: 110.9 kB / 0.7495 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/1.142, allocations: 48.75 kB / 0.7496 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/1.143, allocations: 0.8154 MB / 0.7504 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.143, allocations: 7.656 kB / 0.7504 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/1.143, allocations: 27.89 kB / 0.7504 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/1.143, allocations: 34.72 kB / 0.7504 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000913/1.144, allocations: 0.6267 MB / 0.7511 GB, free: 16.4 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.004858/1.149, allocations: 3.941 MB / 0.7549 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/1.149, allocations: 342 kB / 0.7552 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/1.15, allocations: 162.9 kB / 0.7554 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/1.15, allocations: 94.53 kB / 0.7555 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/1.15, allocations: 41.94 kB / 0.7555 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.225e-06/1.15, allocations: 2.469 kB / 0.7555 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005616/1.155, allocations: 1.685 MB / 0.7572 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.155, allocations: 131.7 kB / 0.7573 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/1.156, allocations: 0.6178 MB / 0.7579 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/1.156, allocations: 31.17 kB / 0.7579 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/1.157, allocations: 374.4 kB / 0.7583 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.157, allocations: 151.1 kB / 0.7584 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.157, allocations: 157.8 kB / 0.7586 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002021/1.157, allocations: 375.9 kB / 0.7589 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/1.157, allocations: 204.2 kB / 0.7591 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/1.158, allocations: 0.5154 MB / 0.7596 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/1.159, allocations: 0.7501 MB / 0.7604 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.159, allocations: 3.219 kB / 0.7604 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001441/1.16, allocations: 0.8797 MB / 0.7612 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.16, allocations: 10.66 kB / 0.7612 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.16, allocations: 9.594 kB / 0.7612 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/1.162, allocations: 322.5 kB / 0.7615 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/1.162, allocations: 126.2 kB / 0.7617 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/1.163, allocations: 0.9282 MB / 0.7626 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/1.164, allocations: 35.08 kB / 0.7626 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/1.164, allocations: 67.53 kB / 0.7627 GB, free: 10.78 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.0004309/1.164, allocations: 246.6 kB / 0.7629 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.165, allocations: 71.8 kB / 0.763 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/1.166, allocations: 0.8537 MB / 0.7638 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.166, allocations: 15.03 kB / 0.7638 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.166, allocations: 2.75 kB / 0.7638 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.166, allocations: 5 kB / 0.7638 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/1.168, allocations: 1.458 MB / 0.7653 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.168, allocations: 3.344 kB / 0.7653 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.169, allocations: 206.5 kB / 0.7655 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.894e-05/1.17, allocations: 32.36 kB / 0.7655 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/1.17, allocations: 20.48 kB / 0.7655 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/1.172, allocations: 2.872 MB / 0.7683 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.172, allocations: 5.656 kB / 0.7683 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/1.173, allocations: 0.8275 MB / 0.7691 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/1.174, allocations: 191.8 kB / 0.7693 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/1.174, allocations: 7.906 kB / 0.7693 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/1.174, allocations: 22.56 kB / 0.7693 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.174, allocations: 37.69 kB / 0.7694 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/1.174, allocations: 41.89 kB / 0.7694 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005417/1.175, allocations: 447 kB / 0.7698 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.175, allocations: 0 / 0.7698 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001038/1.176, allocations: 260.5 kB / 0.7701 GB, free: 6.637 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.0007948/1.177, allocations: 291.4 kB / 0.7704 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001167/1.178, allocations: 0.5426 MB / 0.7709 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.178, allocations: 3.859 kB / 0.7709 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009042/1.179, allocations: 393.5 kB / 0.7713 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/1.18, allocations: 381.9 kB / 0.7716 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/1.183, allocations: 1.39 MB / 0.773 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/1.183, allocations: 0.9303 MB / 0.7739 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/1.184, allocations: 125.5 kB / 0.774 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.184, allocations: 1.203 kB / 0.774 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of Templates: time 0.02677/1.211, allocations: 16.7 MB / 0.7903 GB, free: 0.9062 MB / 0.5762 GB [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p