Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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: 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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 207.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.12 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 79.86 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.376, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01394/0.39, allocations: 12.68 MB / 0.544 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008146/0.3982, allocations: 5.494 MB / 0.5494 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007385/0.399, allocations: 16.91 kB / 0.5494 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008514/0.3998, allocations: 215.7 kB / 0.5496 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.4021, allocations: 0.6907 MB / 0.5503 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.4064, allocations: 1.562 MB / 0.5518 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.4081, allocations: 1.239 MB / 0.553 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.4088, allocations: 317.2 kB / 0.5533 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.4098, allocations: 0.5061 MB / 0.5538 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008974/0.4107, allocations: 466.4 kB / 0.5543 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.4109, allocations: 47.94 kB / 0.5543 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.4131, allocations: 1.08 MB / 0.5554 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.4134, allocations: 159.6 kB / 0.5555 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.4138, allocations: 270.7 kB / 0.5558 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.4162, allocations: 1.33 MB / 0.5571 GB, free: 7.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4162, allocations: 0 / 0.5571 GB, free: 7.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4162, allocations: 3.938 kB / 0.5571 GB, free: 7.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.371e-05/0.4162, allocations: 0 / 0.5571 GB, free: 7.648 MB / 414.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.001888/0.4181, allocations: 0.9482 MB / 0.558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4182, allocations: 8.031 kB / 0.558 GB, free: 6.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.4184, allocations: 64.36 kB / 0.5581 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.4191, allocations: 473.4 kB / 0.5585 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.4192, allocations: 20.56 kB / 0.5586 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.4192, allocations: 28 kB / 0.5586 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.42, allocations: 0.5224 MB / 0.5591 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.42, allocations: 4 kB / 0.5591 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.4201, allocations: 12 kB / 0.5591 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/0.4201, allocations: 32.48 kB / 0.5591 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.4208, allocations: 458 kB / 0.5596 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.424, allocations: 2.253 MB / 0.5618 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.4244, allocations: 238.7 kB / 0.562 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.4246, allocations: 136.7 kB / 0.5621 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.4258, allocations: 1.025 MB / 0.5631 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.4261, allocations: 216.4 kB / 0.5633 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/0.4261, allocations: 0 / 0.5633 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.000673/0.4268, allocations: 382.5 kB / 0.5637 GB, free: 428 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.4269, allocations: 239.3 kB / 0.5639 GB, free: 132 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.4275, allocations: 0.5175 MB / 0.5644 GB, free: 15.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4276, allocations: 29.64 kB / 0.5645 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.4278, allocations: 291.1 kB / 0.5648 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.4278, allocations: 59.27 kB / 0.5648 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.428, allocations: 97.59 kB / 0.5649 GB, free: 15.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4282, allocations: 358.8 kB / 0.5652 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.4284, allocations: 133.2 kB / 0.5654 GB, free: 14.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.4288, allocations: 318.1 kB / 0.5657 GB, free: 14.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.4293, allocations: 469.1 kB / 0.5661 GB, free: 13.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.4293, allocations: 4 kB / 0.5661 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008231/0.4302, allocations: 0.5342 MB / 0.5666 GB, free: 13.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.4302, allocations: 44.34 kB / 0.5667 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4302, allocations: 4 kB / 0.5667 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.4303, allocations: 8 kB / 0.5667 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.4306, allocations: 79.84 kB / 0.5668 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.4306, allocations: 7.938 kB / 0.5668 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.431, allocations: 63.36 kB / 0.5668 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.4311, allocations: 20.38 kB / 0.5669 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003505/0.4314, allocations: 272.4 kB / 0.5671 GB, free: 12.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003417/0.4318, allocations: 318 kB / 0.5674 GB, free: 12.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000521/0.4323, allocations: 452.4 kB / 0.5679 GB, free: 11.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.4323, allocations: 4 kB / 0.5679 GB, free: 11.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008096/0.4331, allocations: 0.5164 MB / 0.5684 GB, free: 11.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.4332, allocations: 45.72 kB / 0.5684 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4332, allocations: 8 kB / 0.5684 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.4332, allocations: 4 kB / 0.5684 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4335, allocations: 79.84 kB / 0.5685 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4335, allocations: 11.98 kB / 0.5685 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.4339, allocations: 35.73 kB / 0.5685 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.434, allocations: 20 kB / 0.5686 GB, free: 11.01 MB / 430.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.0002041/0.4342, allocations: 249.8 kB / 0.5688 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.4343, allocations: 59.38 kB / 0.5689 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.4349, allocations: 358.3 kB / 0.5692 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4349, allocations: 4 kB / 0.5692 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4349, allocations: 3.938 kB / 0.5692 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.435, allocations: 128.4 kB / 0.5693 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.4351, allocations: 8 kB / 0.5693 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.4354, allocations: 11.98 kB / 0.5693 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.4354, allocations: 15.98 kB / 0.5694 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005182/0.436, allocations: 429.9 kB / 0.5698 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005559/0.4365, allocations: 0.5152 MB / 0.5703 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001731/0.4367, allocations: 116 kB / 0.5704 GB, free: 9.047 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004195/0.4371, allocations: 374.8 kB / 0.5707 GB, free: 8.684 MB / 430.1 MB Notification: Performance of Backend: time 3.9e-07/0.4372, allocations: 0 / 0.5707 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.4396, allocations: 1 MB / 0.5717 GB, free: 7.656 MB / 430.1 MB Notification: Performance of SimCode: time 0.002072/0.4417, allocations: 1.441 MB / 0.5731 GB, free: 6.164 MB / 430.1 MB Notification: Performance of Templates: time 0.02454/0.4662, allocations: 14.05 MB / 0.5868 GB, free: 8.184 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches