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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001148/0.001148, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9726/0.9726, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2752/0.2752, allocations: 34.86 MB / 296.3 MB, free: 0.5234 MB / 266.7 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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.683e-05, allocations: 5.125 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.281/0.281, allocations: 148.8 MB / 0.5153 GB, free: 14.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.2841, allocations: 3.043 MB / 0.5182 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.2844, allocations: 27.12 kB / 0.5182 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.2848, allocations: 185.1 kB / 0.5184 GB, free: 12.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.2867, allocations: 1.228 MB / 0.5196 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.2875, allocations: 0.5908 MB / 0.5202 GB, free: 11.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009964/0.2885, allocations: 1.565 MB / 0.5217 GB, free: 10.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.2888, allocations: 374.2 kB / 0.5221 GB, free: 10.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.2894, allocations: 0.7666 MB / 0.5228 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.2898, allocations: 492.4 kB / 0.5233 GB, free: 10.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.2899, allocations: 55.88 kB / 0.5234 GB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008786/0.2907, allocations: 0.8068 MB / 0.5241 GB, free: 9.996 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.961e-05/0.2908, allocations: 172.1 kB / 0.5243 GB, free: 9.895 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.291, allocations: 250.8 kB / 0.5246 GB, free: 9.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000982/0.292, allocations: 1.194 MB / 0.5257 GB, free: 9.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.292, allocations: 0 / 0.5257 GB, free: 9.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.292, allocations: 0 / 0.5257 GB, free: 9.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.292, allocations: 2.969 kB / 0.5257 GB, free: 9.363 MB / 410.7 MB 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.001039/0.293, allocations: 1.085 MB / 0.5268 GB, free: 8.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2931, allocations: 8.656 kB / 0.5268 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/0.2936, allocations: 217.2 kB / 0.527 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.2941, allocations: 445.5 kB / 0.5274 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2941, allocations: 34.31 kB / 0.5275 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.2941, allocations: 44.97 kB / 0.5275 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.2949, allocations: 0.8084 MB / 0.5283 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2949, allocations: 3.031 kB / 0.5283 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.2949, allocations: 21.69 kB / 0.5283 GB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2949, allocations: 8.469 kB / 0.5283 GB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.2954, allocations: 281.3 kB / 0.5286 GB, free: 7.484 MB / 410.7 MB 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.001616/0.297, allocations: 2.266 MB / 0.5308 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.2973, allocations: 206 kB / 0.531 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2974, allocations: 88.84 kB / 0.5311 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.2976, allocations: 57.02 kB / 0.5311 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2976, allocations: 43.2 kB / 0.5312 GB, free: 5.531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.2976, allocations: 0 / 0.5312 GB, free: 5.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008164/0.2984, allocations: 485 kB / 0.5316 GB, free: 5.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.2984, allocations: 131.5 kB / 0.5318 GB, free: 5.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.2987, allocations: 442.2 kB / 0.5322 GB, free: 4.969 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2987, allocations: 32.39 kB / 0.5322 GB, free: 4.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2988, allocations: 346.8 kB / 0.5325 GB, free: 4.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.2989, allocations: 123.7 kB / 0.5327 GB, free: 4.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.299, allocations: 112 kB / 0.5328 GB, free: 4.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.299, allocations: 0.5278 MB / 0.5333 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2991, allocations: 69.62 kB / 0.5334 GB, free: 3.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.2993, allocations: 331.1 kB / 0.5337 GB, free: 3.637 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.2996, allocations: 325.7 kB / 0.534 GB, free: 3.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2996, allocations: 0 / 0.534 GB, free: 3.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004496/0.3, allocations: 413.8 kB / 0.5344 GB, free: 3.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3001, allocations: 9.406 kB / 0.5344 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3001, allocations: 3.312 kB / 0.5344 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/0.3007, allocations: 202.2 kB / 0.5346 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3009, allocations: 97.42 kB / 0.5347 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002404/0.3011, allocations: 0.8349 MB / 0.5355 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3013, allocations: 31.31 kB / 0.5355 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.3013, allocations: 48.94 kB / 0.5356 GB, free: 2.359 MB / 410.7 MB 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.00011/0.3014, allocations: 194.2 kB / 0.5357 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.3015, allocations: 63.42 kB / 0.5358 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009111/0.3024, allocations: 0.9674 MB / 0.5368 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3024, allocations: 2.781 kB / 0.5368 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3024, allocations: 0 / 0.5368 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3024, allocations: 2.531 kB / 0.5368 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/0.3031, allocations: 0.8453 MB / 0.5376 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3031, allocations: 3 kB / 0.5376 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3032, allocations: 55.41 kB / 0.5376 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.3044, allocations: 315.7 kB / 0.5379 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3044, allocations: 16.2 kB / 0.538 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002012/0.3046, allocations: 0.8394 MB / 0.5388 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3046, allocations: 7.906 kB / 0.5388 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.3049, allocations: 466.9 kB / 0.5392 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.305, allocations: 51.83 kB / 0.5393 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.305, allocations: 16.09 kB / 0.5393 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3051, allocations: 15.75 kB / 0.5393 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.3052, allocations: 26.19 kB / 0.5393 GB, free: 0 / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.3052, allocations: 24.59 kB / 0.5394 GB, free: 15.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.3054, allocations: 320.5 kB / 0.5397 GB, free: 15.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3054, allocations: 0 / 0.5397 GB, free: 15.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005769/0.306, allocations: 283.8 kB / 0.5399 GB, free: 15.75 MB / 426.7 MB 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.0005189/0.3065, allocations: 355 kB / 0.5403 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.307, allocations: 241.2 kB / 0.5405 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.307, allocations: 0 / 0.5405 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.3071, allocations: 126.6 kB / 0.5406 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007547/0.3079, allocations: 300.1 kB / 0.5409 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.309, allocations: 0.8512 MB / 0.5417 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.128e-05/0.309, allocations: 127.1 kB / 0.5419 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.3095, allocations: 486.7 kB / 0.5423 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3097, allocations: 84.02 kB / 0.5424 GB, free: 14.68 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3097, allocations: 0 / 0.5424 GB, free: 14.68 MB / 426.7 MB Notification: Performance of Templates: time 0.0184/0.3281, allocations: 16 MB / 0.558 GB, free: 0.9453 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7842644937336445]