Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.001719/0.001719, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.00212/0.00212, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.431/1.431, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2279/0.2279, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 76.16 kB / 0.4916 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1266, allocations: 66.05 MB / 0.5561 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4981/0.6247, allocations: 184.7 MB / 0.7365 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007193/0.6319, allocations: 4.608 MB / 0.741 GB, free: 3.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.6326, allocations: 27.75 kB / 0.741 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009915/0.6335, allocations: 349.7 kB / 0.7414 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004534/0.6381, allocations: 1.811 MB / 0.7431 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.6405, allocations: 0.945 MB / 0.7441 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00255/0.643, allocations: 1.711 MB / 0.7457 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006899/0.6437, allocations: 399.1 kB / 0.7461 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.6456, allocations: 0.8682 MB / 0.747 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007848/0.6464, allocations: 0.5292 MB / 0.7475 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.6465, allocations: 56 kB / 0.7475 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.6494, allocations: 1.31 MB / 0.7488 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.6496, allocations: 183.3 kB / 0.749 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005215/0.6502, allocations: 366.4 kB / 0.7493 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.6534, allocations: 1.647 MB / 0.7509 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.6534, allocations: 3.984 kB / 0.7509 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6534, allocations: 0 / 0.7509 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.6534, allocations: 0 / 0.7509 GB, free: 9.48 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002285/0.6557, allocations: 1.132 MB / 0.7521 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.6557, allocations: 12.03 kB / 0.7521 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.842e-05/0.6557, allocations: 13 kB / 0.7521 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.6559, allocations: 90.52 kB / 0.7522 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.6571, allocations: 163.5 kB / 0.7523 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.6581, allocations: 0.5124 MB / 0.7528 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.6581, allocations: 33 kB / 0.7529 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.6582, allocations: 44 kB / 0.7529 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.6594, allocations: 0.636 MB / 0.7535 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.6594, allocations: 7.938 kB / 0.7535 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.6595, allocations: 23.98 kB / 0.7535 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.6595, allocations: 16 kB / 0.7536 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.6605, allocations: 495.6 kB / 0.754 GB, free: 6.172 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.003417/0.664, allocations: 2.653 MB / 0.7566 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.6647, allocations: 298.7 kB / 0.7569 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.665, allocations: 144.9 kB / 0.757 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004673/0.6654, allocations: 441.4 kB / 0.7575 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6655, allocations: 38.56 kB / 0.7575 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.794e-06/0.6655, allocations: 0 / 0.7575 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001795/0.6673, allocations: 0.7211 MB / 0.7582 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.6674, allocations: 158.2 kB / 0.7584 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.6681, allocations: 0.5185 MB / 0.7589 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.6681, allocations: 33.7 kB / 0.7589 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.6684, allocations: 312.1 kB / 0.7592 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.6685, allocations: 130.9 kB / 0.7593 GB, free: 380 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.6687, allocations: 122.2 kB / 0.7594 GB, free: 252 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.6689, allocations: 358.8 kB / 0.7598 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.6693, allocations: 149 kB / 0.7599 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.6697, allocations: 322.9 kB / 0.7602 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/0.6705, allocations: 470.6 kB / 0.7607 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.6705, allocations: 4 kB / 0.7607 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001108/0.6716, allocations: 0.5677 MB / 0.7612 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6716, allocations: 11.98 kB / 0.7612 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6716, allocations: 4 kB / 0.7613 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.6732, allocations: 241.1 kB / 0.7615 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.6736, allocations: 123.9 kB / 0.7616 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005348/0.6742, allocations: 0.5875 MB / 0.7622 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.6745, allocations: 55.58 kB / 0.7622 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.6746, allocations: 55.98 kB / 0.7623 GB, free: 13.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.6749, allocations: 197.6 kB / 0.7625 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.6751, allocations: 63.73 kB / 0.7625 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.6771, allocations: 1.098 MB / 0.7636 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.6771, allocations: 4 kB / 0.7636 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6771, allocations: 0 / 0.7636 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6771, allocations: 3.984 kB / 0.7636 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.6786, allocations: 1.008 MB / 0.7646 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.6786, allocations: 8.562 kB / 0.7646 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.6788, allocations: 55.84 kB / 0.7647 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/0.6819, allocations: 444.3 kB / 0.7651 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.6819, allocations: 13.12 kB / 0.7651 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004787/0.6824, allocations: 0.5914 MB / 0.7657 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.6824, allocations: 7.969 kB / 0.7657 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.6832, allocations: 0.5009 MB / 0.7662 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.6834, allocations: 144.7 kB / 0.7663 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.836e-05/0.6835, allocations: 12.81 kB / 0.7663 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.6838, allocations: 15.98 kB / 0.7663 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.6839, allocations: 31.84 kB / 0.7664 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.6839, allocations: 23.98 kB / 0.7664 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005786/0.6845, allocations: 447 kB / 0.7668 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6845, allocations: 0 / 0.7668 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009203/0.6854, allocations: 299.4 kB / 0.7671 GB, free: 8.016 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (28): * Single equations (assignments): 27 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001786/0.6872, allocations: 1.315 MB / 0.7684 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008802/0.6881, allocations: 347.6 kB / 0.7687 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6881, allocations: 5.188 kB / 0.7687 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.6884, allocations: 152.2 kB / 0.7689 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.6902, allocations: 410 kB / 0.7693 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.6974, allocations: 5.054 MB / 0.7742 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.6979, allocations: 0.8676 MB / 0.775 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001151/0.699, allocations: 0.5742 MB / 0.7756 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.6995, allocations: 235.3 kB / 0.7758 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/0.6995, allocations: 0 / 0.7758 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05291/0.7524, allocations: 23.24 MB / 0.7985 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.64, allocations: 19.92 kB / 0.7985 GB, free: 7.75 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.071386379015166]