Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2502/0.2502, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 75.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3709, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2358/0.6068, allocations: 186 MB / 0.7123 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006908/0.6138, allocations: 3.256 MB / 0.7154 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.6147, allocations: 11.94 kB / 0.7155 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.616, allocations: 325.8 kB / 0.7158 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.6207, allocations: 1.395 MB / 0.7171 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.6229, allocations: 0.7344 MB / 0.7179 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.329/0.952, allocations: 1.559 MB / 0.7194 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.9531, allocations: 430.3 kB / 0.7198 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.9547, allocations: 0.5891 MB / 0.7204 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.9557, allocations: 462 kB / 0.7208 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.9558, allocations: 51.5 kB / 0.7208 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/0.9596, allocations: 1.194 MB / 0.722 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.9599, allocations: 161.3 kB / 0.7222 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007696/0.9607, allocations: 350.1 kB / 0.7225 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.9644, allocations: 1.517 MB / 0.724 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9644, allocations: 0.6562 kB / 0.724 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9644, allocations: 0 / 0.724 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.9644, allocations: 1.469 kB / 0.724 GB, free: 3.258 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002373/0.9668, allocations: 1.082 MB / 0.725 GB, free: 18.61 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.9669, allocations: 9.344 kB / 0.7251 GB, free: 18.61 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.967, allocations: 82.14 kB / 0.7251 GB, free: 18.57 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.9682, allocations: 142.2 kB / 0.7253 GB, free: 18.54 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.9692, allocations: 0.4887 MB / 0.7257 GB, free: 18.29 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.9692, allocations: 32.09 kB / 0.7258 GB, free: 18.29 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.9693, allocations: 41.25 kB / 0.7258 GB, free: 18.29 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.9705, allocations: 0.5886 MB / 0.7264 GB, free: 18.17 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.9705, allocations: 4.406 kB / 0.7264 GB, free: 18.17 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.9706, allocations: 20.84 kB / 0.7264 GB, free: 18.17 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.9706, allocations: 11.59 kB / 0.7264 GB, free: 18.17 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.9716, allocations: 485.3 kB / 0.7269 GB, free: 18.16 MB / 0.5763 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.003454/0.9751, allocations: 2.677 MB / 0.7295 GB, free: 16.38 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.9759, allocations: 365.5 kB / 0.7298 GB, free: 16.35 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.9762, allocations: 169.8 kB / 0.73 GB, free: 16.34 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/0.9767, allocations: 435.2 kB / 0.7304 GB, free: 15.87 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.9767, allocations: 40.19 kB / 0.7305 GB, free: 15.83 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.9767, allocations: 0 / 0.7305 GB, free: 15.83 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001828/0.9786, allocations: 0.7321 MB / 0.7312 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.9787, allocations: 133.3 kB / 0.7313 GB, free: 15.51 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.9792, allocations: 0.4945 MB / 0.7318 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.9793, allocations: 29.39 kB / 0.7318 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.9795, allocations: 284.8 kB / 0.7321 GB, free: 15.21 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.9796, allocations: 124 kB / 0.7322 GB, free: 15.13 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.9798, allocations: 107 kB / 0.7323 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.9799, allocations: 367.1 kB / 0.7327 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.9802, allocations: 152.7 kB / 0.7328 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.9806, allocations: 281.9 kB / 0.7331 GB, free: 14.65 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.9813, allocations: 439.9 kB / 0.7335 GB, free: 14.53 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9813, allocations: 0 / 0.7335 GB, free: 14.53 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001001/0.9823, allocations: 0.5451 MB / 0.734 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.9823, allocations: 5.344 kB / 0.734 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9824, allocations: 5.062 kB / 0.734 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.9838, allocations: 246 kB / 0.7343 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.9842, allocations: 103.4 kB / 0.7344 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000523/0.9847, allocations: 0.6002 MB / 0.735 GB, free: 13.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.9852, allocations: 46.75 kB / 0.735 GB, free: 13.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/0.9853, allocations: 48.5 kB / 0.735 GB, free: 13.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.9856, allocations: 182.2 kB / 0.7352 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.9857, allocations: 57.73 kB / 0.7353 GB, free: 13.76 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.9874, allocations: 1.097 MB / 0.7363 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.9874, allocations: 3.875 kB / 0.7363 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9874, allocations: 0 / 0.7363 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9874, allocations: 3.094 kB / 0.7364 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.9889, allocations: 1.041 MB / 0.7374 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.9889, allocations: 4.016 kB / 0.7374 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.9892, allocations: 49.62 kB / 0.7374 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/0.9922, allocations: 446.5 kB / 0.7378 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.9922, allocations: 14.8 kB / 0.7379 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005449/0.9928, allocations: 0.6014 MB / 0.7384 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.9928, allocations: 9.781 kB / 0.7385 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.9937, allocations: 0.5132 MB / 0.739 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.9939, allocations: 133.7 kB / 0.7391 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.9941, allocations: 21.75 kB / 0.7391 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.9944, allocations: 16.64 kB / 0.7391 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.9945, allocations: 31.45 kB / 0.7392 GB, free: 12.35 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.9945, allocations: 14.83 kB / 0.7392 GB, free: 12.35 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0005094/0.995, allocations: 422.7 kB / 0.7396 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/0.995, allocations: 0 / 0.7396 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0009188/0.996, allocations: 284.4 kB / 0.7398 GB, free: 12.23 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001901/0.9979, allocations: 1.346 MB / 0.7412 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0008222/0.9987, allocations: 381.3 kB / 0.7415 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9987, allocations: 3.219 kB / 0.7415 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.999, allocations: 163.8 kB / 0.7417 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.001, allocations: 358.9 kB / 0.742 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/1.007, allocations: 4.932 MB / 0.7468 GB, free: 9.469 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/1.008, allocations: 0.8553 MB / 0.7477 GB, free: 8.77 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001194/1.009, allocations: 0.5605 MB / 0.7482 GB, free: 8.719 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/1.009, allocations: 231.3 kB / 0.7484 GB, free: 8.711 MB / 0.5763 GB Notification: Performance of SimCode: time 8.92e-07/1.009, allocations: 0 / 0.7484 GB, free: 8.711 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05829/1.068, allocations: 21.66 MB / 0.7696 GB, free: 4.164 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.3, allocations: 6.375 kB / 0.7696 GB, free: 4.164 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches