Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.001821/0.001821, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001688/0.001688, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.425/1.425, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2202/0.2202, allocations: 46.89 MB / 361.1 MB, free: 4.645 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-beta.om/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.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 79.88 kB / 0.4968 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3054, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.2062/0.5116, allocations: 180.2 MB / 0.7372 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3131/0.8247, allocations: 3.774 MB / 0.7408 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007395/0.8254, allocations: 19.59 kB / 0.7409 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009223/0.8263, allocations: 338.9 kB / 0.7412 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.8299, allocations: 1.378 MB / 0.7425 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.8328, allocations: 1.082 MB / 0.7436 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.8351, allocations: 1.595 MB / 0.7451 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.8356, allocations: 342 kB / 0.7455 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008667/0.8364, allocations: 0.6072 MB / 0.7461 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.837, allocations: 499.5 kB / 0.7465 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.765e-05/0.8371, allocations: 52.06 kB / 0.7466 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.8397, allocations: 1.289 MB / 0.7478 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.8398, allocations: 169.9 kB / 0.748 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.8402, allocations: 364.9 kB / 0.7484 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.8422, allocations: 1.568 MB / 0.7499 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8422, allocations: 0 / 0.7499 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8422, allocations: 4.531 kB / 0.7499 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.8422, allocations: 0 / 0.7499 GB, free: 1.586 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001786/0.844, allocations: 1.204 MB / 0.7511 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.8441, allocations: 7.594 kB / 0.7511 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.8452, allocations: 170.3 kB / 0.7512 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.8461, allocations: 0.6054 MB / 0.7518 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.8462, allocations: 32.12 kB / 0.7519 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.8462, allocations: 41.62 kB / 0.7519 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.847, allocations: 0.5943 MB / 0.7525 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.847, allocations: 5.219 kB / 0.7525 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.8471, allocations: 24.62 kB / 0.7525 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.8471, allocations: 13.8 kB / 0.7525 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.8477, allocations: 467.9 kB / 0.753 GB, free: 16.41 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.002941/0.8507, allocations: 2.632 MB / 0.7555 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.8511, allocations: 261.2 kB / 0.7558 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.8513, allocations: 154.9 kB / 0.7559 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.8516, allocations: 341.8 kB / 0.7563 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.8521, allocations: 349.9 kB / 0.7566 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.8521, allocations: 0.8125 kB / 0.7566 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.000997/0.8531, allocations: 0.6323 MB / 0.7572 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.8532, allocations: 292.9 kB / 0.7575 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.8537, allocations: 0.5737 MB / 0.7581 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.8538, allocations: 31.98 kB / 0.7581 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.854, allocations: 342.7 kB / 0.7584 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.8541, allocations: 124.5 kB / 0.7585 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.8542, allocations: 128.7 kB / 0.7587 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8544, allocations: 372.9 kB / 0.759 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.8546, allocations: 168 kB / 0.7592 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.855, allocations: 387.2 kB / 0.7595 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.8556, allocations: 0.5708 MB / 0.7601 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8556, allocations: 0 / 0.7601 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009326/0.8566, allocations: 0.6623 MB / 0.7607 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.8566, allocations: 34.2 kB / 0.7608 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.8566, allocations: 9.891 kB / 0.7608 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.8566, allocations: 8.594 kB / 0.7608 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.8598, allocations: 415.2 kB / 0.7612 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005333/0.8603, allocations: 0.6261 MB / 0.7618 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.8607, allocations: 63.8 kB / 0.7619 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.8608, allocations: 49.91 kB / 0.7619 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003884/0.8612, allocations: 290.8 kB / 0.7622 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003999/0.8616, allocations: 378.4 kB / 0.7625 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006042/0.8622, allocations: 0.5361 MB / 0.7631 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.8622, allocations: 2.625 kB / 0.7631 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.000837/0.8631, allocations: 0.6269 MB / 0.7637 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.8631, allocations: 42.55 kB / 0.7637 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8631, allocations: 12.91 kB / 0.7637 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.792e-06/0.8631, allocations: 7.375 kB / 0.7637 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.8634, allocations: 121.7 kB / 0.7639 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8635, allocations: 14.59 kB / 0.7639 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.8639, allocations: 44.67 kB / 0.7639 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.8639, allocations: 56.94 kB / 0.764 GB, free: 11.03 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002654/0.8642, allocations: 251.2 kB / 0.7642 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.8643, allocations: 72.39 kB / 0.7643 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.866, allocations: 1.201 MB / 0.7655 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.866, allocations: 3.578 kB / 0.7655 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.866, allocations: 0 / 0.7655 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.8662, allocations: 143.4 kB / 0.7656 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.8663, allocations: 16.38 kB / 0.7656 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.8665, allocations: 12.34 kB / 0.7656 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.8666, allocations: 34.64 kB / 0.7657 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009513/0.8676, allocations: 0.6654 MB / 0.7663 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001081/0.8686, allocations: 0.9174 MB / 0.7672 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002303/0.8689, allocations: 167.5 kB / 0.7674 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004125/0.8693, allocations: 413.5 kB / 0.7678 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of Backend: time 3.31e-07/0.8693, allocations: 3.375 kB / 0.7678 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006746/0.876, allocations: 1.504 MB / 0.7692 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003258/0.8793, allocations: 1.762 MB / 0.7709 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of Templates: time 0.03371/0.913, allocations: 20.72 MB / 0.7912 GB, free: 3.555 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestSharpEdgedOrifice/TestSharpEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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: 6.123632464092225]