Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 106.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 187.2 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2159/0.2159, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3509, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01679/0.3677, allocations: 12.59 MB / 0.5319 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.3761, allocations: 5.461 MB / 0.5372 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005994/0.3767, allocations: 17.72 kB / 0.5372 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.3775, allocations: 207.5 kB / 0.5374 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.3794, allocations: 0.6945 MB / 0.5381 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.3837, allocations: 1.565 MB / 0.5396 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.3856, allocations: 1.232 MB / 0.5408 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.3863, allocations: 329.8 kB / 0.5411 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.3876, allocations: 0.4968 MB / 0.5416 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.3888, allocations: 464.1 kB / 0.5421 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.389, allocations: 43.72 kB / 0.5421 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.3918, allocations: 1.06 MB / 0.5431 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.3921, allocations: 172.2 kB / 0.5433 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006738/0.3928, allocations: 266.8 kB / 0.5436 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.3959, allocations: 1.319 MB / 0.5448 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3959, allocations: 0 / 0.5448 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.396, allocations: 0 / 0.5448 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.692e-05/0.396, allocations: 1 kB / 0.5448 GB, free: 1.094 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002608/0.3986, allocations: 0.9495 MB / 0.5458 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3987, allocations: 9.625 kB / 0.5458 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.399, allocations: 59.8 kB / 0.5458 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.4, allocations: 465.4 kB / 0.5463 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.4, allocations: 20.84 kB / 0.5463 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.4001, allocations: 31.5 kB / 0.5463 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009805/0.4011, allocations: 0.524 MB / 0.5468 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4011, allocations: 1.062 kB / 0.5468 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.4012, allocations: 12.53 kB / 0.5469 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.237e-05/0.4013, allocations: 41 kB / 0.5469 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.4021, allocations: 460.2 kB / 0.5473 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.4057, allocations: 2.248 MB / 0.5495 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.4062, allocations: 242.6 kB / 0.5498 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.4064, allocations: 136.5 kB / 0.5499 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.4077, allocations: 1.037 MB / 0.5509 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.4081, allocations: 216.4 kB / 0.5511 GB, free: 11.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 3.797e-06/0.4081, allocations: 0 / 0.5511 GB, free: 11.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007025/0.4088, allocations: 382.5 kB / 0.5515 GB, free: 10.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.4089, allocations: 243.3 kB / 0.5517 GB, free: 10.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.4095, allocations: 0.5175 MB / 0.5522 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.4096, allocations: 29.7 kB / 0.5522 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.4098, allocations: 283.2 kB / 0.5525 GB, free: 9.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.4099, allocations: 63.17 kB / 0.5526 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.41, allocations: 97.55 kB / 0.5527 GB, free: 9.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4102, allocations: 358.8 kB / 0.553 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.4104, allocations: 145.2 kB / 0.5531 GB, free: 9.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.4108, allocations: 312.8 kB / 0.5534 GB, free: 8.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.4113, allocations: 465.1 kB / 0.5539 GB, free: 8.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4113, allocations: 4 kB / 0.5539 GB, free: 8.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008426/0.4122, allocations: 0.5346 MB / 0.5544 GB, free: 7.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.4122, allocations: 40.34 kB / 0.5544 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4122, allocations: 8.031 kB / 0.5545 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.4123, allocations: 8 kB / 0.5545 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.4126, allocations: 79.84 kB / 0.5545 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.4126, allocations: 7.984 kB / 0.5545 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.413, allocations: 59.42 kB / 0.5546 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.4131, allocations: 20 kB / 0.5546 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003567/0.4135, allocations: 276.4 kB / 0.5549 GB, free: 7.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003302/0.4138, allocations: 305.7 kB / 0.5552 GB, free: 6.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00049/0.4143, allocations: 453 kB / 0.5556 GB, free: 6.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/0.4143, allocations: 3.984 kB / 0.5556 GB, free: 6.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007847/0.4151, allocations: 0.5138 MB / 0.5561 GB, free: 5.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4151, allocations: 45.64 kB / 0.5562 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4152, allocations: 4 kB / 0.5562 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.4152, allocations: 8 kB / 0.5562 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.4155, allocations: 76.48 kB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4155, allocations: 15.94 kB / 0.5563 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.4159, allocations: 47.61 kB / 0.5563 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.416, allocations: 20 kB / 0.5563 GB, free: 5.477 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.4162, allocations: 249.1 kB / 0.5566 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.4163, allocations: 51.38 kB / 0.5566 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.4168, allocations: 361.5 kB / 0.557 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4169, allocations: 0 / 0.557 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4169, allocations: 3.938 kB / 0.557 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.417, allocations: 124.5 kB / 0.5571 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.841e-05/0.4171, allocations: 8 kB / 0.5571 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.4174, allocations: 11.98 kB / 0.5571 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.4175, allocations: 11.98 kB / 0.5571 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005202/0.418, allocations: 437.8 kB / 0.5575 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005549/0.4185, allocations: 0.5067 MB / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000166/0.4187, allocations: 123.8 kB / 0.5581 GB, free: 3.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.4191, allocations: 378.8 kB / 0.5585 GB, free: 3.156 MB / 414.1 MB Notification: Performance of Backend: time 3.21e-07/0.4192, allocations: 0 / 0.5585 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.4217, allocations: 0.9948 MB / 0.5595 GB, free: 2.145 MB / 414.1 MB Notification: Performance of SimCode: time 0.002035/0.4238, allocations: 1.434 MB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of Templates: time 0.0229/0.4467, allocations: 13.79 MB / 0.5743 GB, free: 2.961 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches