Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.001322/0.001322, allocations: 116.2 kB / 18.49 MB, free: 4.582 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.001386/0.001386, allocations: 214.9 kB / 21.46 MB, free: 1.629 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.503/1.503, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 44.91 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 65.43 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4891/0.6144, allocations: 184.7 MB / 0.7328 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007275/0.6217, allocations: 4.623 MB / 0.7373 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.6224, allocations: 19.81 kB / 0.7373 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.6234, allocations: 345.7 kB / 0.7377 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.6283, allocations: 1.806 MB / 0.7394 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.6307, allocations: 0.9483 MB / 0.7404 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.6333, allocations: 1.699 MB / 0.742 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006723/0.6339, allocations: 399.1 kB / 0.7424 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.6356, allocations: 0.8721 MB / 0.7432 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007292/0.6363, allocations: 0.5292 MB / 0.7438 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/0.6364, allocations: 56 kB / 0.7438 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.639, allocations: 1.31 MB / 0.7451 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.6392, allocations: 175.3 kB / 0.7453 GB, free: 1.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.6396, allocations: 378.3 kB / 0.7456 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.6421, allocations: 1.651 MB / 0.7472 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6421, allocations: 0 / 0.7472 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6421, allocations: 0 / 0.7472 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.6421, allocations: 0 / 0.7472 GB, free: 15.56 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.002047/0.6442, allocations: 1.128 MB / 0.7483 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6442, allocations: 12.03 kB / 0.7483 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.69e-05/0.6442, allocations: 9 kB / 0.7484 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.6444, allocations: 98.52 kB / 0.7485 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.6456, allocations: 163.5 kB / 0.7486 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.6465, allocations: 0.5085 MB / 0.7491 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.6465, allocations: 40.5 kB / 0.7491 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.6466, allocations: 40 kB / 0.7492 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.6478, allocations: 0.6438 MB / 0.7498 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6478, allocations: 0 / 0.7498 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.6479, allocations: 24 kB / 0.7498 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.6479, allocations: 16 kB / 0.7498 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.6488, allocations: 495.6 kB / 0.7503 GB, free: 12.25 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.003221/0.652, allocations: 2.66 MB / 0.7529 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.6527, allocations: 300.7 kB / 0.7532 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.653, allocations: 145 kB / 0.7533 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.6534, allocations: 433.5 kB / 0.7538 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.6535, allocations: 42.5 kB / 0.7538 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.6535, allocations: 0 / 0.7538 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001758/0.6552, allocations: 0.7173 MB / 0.7545 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/0.6553, allocations: 158.2 kB / 0.7546 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/0.656, allocations: 0.5185 MB / 0.7552 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.656, allocations: 33.7 kB / 0.7552 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.6563, allocations: 308.1 kB / 0.7555 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.6564, allocations: 138.8 kB / 0.7556 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.6566, allocations: 118.2 kB / 0.7557 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6568, allocations: 362.8 kB / 0.7561 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.6571, allocations: 149 kB / 0.7562 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.6575, allocations: 321.2 kB / 0.7565 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/0.6583, allocations: 478.5 kB / 0.757 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.6583, allocations: 4 kB / 0.757 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001098/0.6594, allocations: 0.5716 MB / 0.7575 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6594, allocations: 8 kB / 0.7575 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6594, allocations: 4 kB / 0.7576 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.661, allocations: 237.2 kB / 0.7578 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.6614, allocations: 123.8 kB / 0.7579 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005033/0.6619, allocations: 0.5836 MB / 0.7585 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.6623, allocations: 55.58 kB / 0.7585 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.6624, allocations: 51.98 kB / 0.7586 GB, free: 3.23 MB / 0.5606 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.0002762/0.6626, allocations: 197.6 kB / 0.7588 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6628, allocations: 63.73 kB / 0.7588 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.6648, allocations: 1.111 MB / 0.7599 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.6648, allocations: 4 kB / 0.7599 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6648, allocations: 3.938 kB / 0.7599 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6648, allocations: 3.984 kB / 0.7599 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.6662, allocations: 1.002 MB / 0.7609 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.6662, allocations: 7.984 kB / 0.7609 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.6665, allocations: 51.86 kB / 0.7609 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/0.6697, allocations: 440.4 kB / 0.7614 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.6697, allocations: 8 kB / 0.7614 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004901/0.6702, allocations: 0.607 MB / 0.762 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6702, allocations: 0 / 0.762 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008854/0.6711, allocations: 0.5048 MB / 0.7625 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.6713, allocations: 144.6 kB / 0.7626 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.6714, allocations: 11.94 kB / 0.7626 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.6717, allocations: 15.98 kB / 0.7626 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.6718, allocations: 27.91 kB / 0.7627 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.6718, allocations: 23.98 kB / 0.7627 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006189/0.6724, allocations: 447 kB / 0.7631 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6724, allocations: 0 / 0.7631 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009918/0.6734, allocations: 299.4 kB / 0.7634 GB, free: 14.09 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.001931/0.6754, allocations: 1.323 MB / 0.7647 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008969/0.6763, allocations: 352.8 kB / 0.765 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6763, allocations: 0 / 0.765 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.6766, allocations: 149.3 kB / 0.7652 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.6785, allocations: 407.8 kB / 0.7655 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007628/0.6861, allocations: 5.053 MB / 0.7705 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.6866, allocations: 0.8638 MB / 0.7713 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001196/0.6878, allocations: 0.5792 MB / 0.7719 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.6883, allocations: 243.3 kB / 0.7721 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.6883, allocations: 0 / 0.7721 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05472/0.743, allocations: 23.25 MB / 0.7948 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.03, allocations: 19.98 kB / 0.7948 GB, free: 13.84 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.665573413018137]