Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 80.47 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1283, allocations: 62.45 MB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.443/0.5713, allocations: 163.4 MB / 0.6291 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.5752, allocations: 1.667 MB / 0.6307 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.5757, allocations: 19.88 kB / 0.6307 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.5766, allocations: 202.7 kB / 0.6309 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.5793, allocations: 0.7792 MB / 0.6317 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.5813, allocations: 0.6799 MB / 0.6323 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.5831, allocations: 1.15 MB / 0.6334 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.5836, allocations: 328 kB / 0.6338 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009356/0.5846, allocations: 470.3 kB / 0.6342 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.5852, allocations: 386.5 kB / 0.6346 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.5853, allocations: 44 kB / 0.6346 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.5866, allocations: 0.5227 MB / 0.6351 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.5869, allocations: 159.5 kB / 0.6353 GB, free: 9.355 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.5872, allocations: 262.8 kB / 0.6355 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.5887, allocations: 0.9621 MB / 0.6365 GB, free: 8.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5888, allocations: 3.938 kB / 0.6365 GB, free: 8.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5888, allocations: 3.938 kB / 0.6365 GB, free: 8.125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.5888, allocations: 0 / 0.6365 GB, free: 8.125 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00197/0.5908, allocations: 0.9061 MB / 0.6374 GB, free: 7.164 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5908, allocations: 9.109 kB / 0.6374 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004207/0.5912, allocations: 75.33 kB / 0.6374 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.5919, allocations: 394.4 kB / 0.6378 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.732e-05/0.592, allocations: 58.7 kB / 0.6379 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/0.5921, allocations: 39.94 kB / 0.6379 GB, free: 6.551 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.5931, allocations: 0.5205 MB / 0.6384 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.5932, allocations: 8 kB / 0.6384 GB, free: 5.984 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.5932, allocations: 15.98 kB / 0.6384 GB, free: 5.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.5933, allocations: 12.66 kB / 0.6385 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.5943, allocations: 414.2 kB / 0.6388 GB, free: 5.551 MB / 478.1 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.003662/0.598, allocations: 2.466 MB / 0.6413 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008787/0.5989, allocations: 342.4 kB / 0.6416 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.5993, allocations: 161.3 kB / 0.6417 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.5993, allocations: 12.2 kB / 0.6417 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006139/0.6, allocations: 264.8 kB / 0.642 GB, free: 2.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.6, allocations: 0 / 0.642 GB, free: 2.113 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01309/0.6131, allocations: 3.252 MB / 0.6452 GB, free: 14.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.6132, allocations: 166.2 kB / 0.6453 GB, free: 14.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.6138, allocations: 381.6 kB / 0.6457 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.6138, allocations: 37.7 kB / 0.6457 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.6141, allocations: 259.9 kB / 0.646 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.6142, allocations: 161.7 kB / 0.6461 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.6145, allocations: 126.2 kB / 0.6463 GB, free: 13.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.6147, allocations: 358.8 kB / 0.6466 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.6153, allocations: 217.1 kB / 0.6468 GB, free: 12.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/0.6162, allocations: 409.1 kB / 0.6472 GB, free: 12.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.6178, allocations: 0.6355 MB / 0.6478 GB, free: 11.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6178, allocations: 4 kB / 0.6478 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00204/0.6198, allocations: 0.7953 MB / 0.6486 GB, free: 10.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.6199, allocations: 30.36 kB / 0.6486 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.6199, allocations: 15.97 kB / 0.6486 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.6204, allocations: 112.8 kB / 0.6487 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.621, allocations: 139.7 kB / 0.6489 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/0.6218, allocations: 0.685 MB / 0.6496 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.6223, allocations: 43.95 kB / 0.6496 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.6224, allocations: 44 kB / 0.6496 GB, free: 9.883 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.6227, allocations: 200.2 kB / 0.6498 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.6228, allocations: 51.44 kB / 0.6499 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.625, allocations: 0.7338 MB / 0.6506 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.625, allocations: 4 kB / 0.6506 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.625, allocations: 4 kB / 0.6506 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.625, allocations: 7.969 kB / 0.6506 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.6278, allocations: 1.276 MB / 0.6519 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6278, allocations: 4 kB / 0.6519 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.6283, allocations: 108 kB / 0.652 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/0.6289, allocations: 104.7 kB / 0.6521 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.6289, allocations: 23.92 kB / 0.6521 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.6311, allocations: 1.809 MB / 0.6538 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6311, allocations: 3.969 kB / 0.6539 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.6335, allocations: 0.9736 MB / 0.6548 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.6338, allocations: 156.5 kB / 0.655 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.6339, allocations: 23.92 kB / 0.655 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.6344, allocations: 39.95 kB / 0.655 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.6346, allocations: 67.86 kB / 0.6551 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/0.6346, allocations: 35.98 kB / 0.6551 GB, free: 3.973 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000351/0.635, allocations: 275.1 kB / 0.6554 GB, free: 3.711 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.635, allocations: 0 / 0.6554 GB, free: 3.711 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008106/0.6358, allocations: 231.9 kB / 0.6556 GB, free: 3.484 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008534/0.6367, allocations: 308.4 kB / 0.6559 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.6385, allocations: 0.638 MB / 0.6565 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.6385, allocations: 4 kB / 0.6565 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009164/0.6394, allocations: 411.2 kB / 0.6569 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6405, allocations: 206.5 kB / 0.6571 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.6428, allocations: 1.188 MB / 0.6583 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.6434, allocations: 0.8514 MB / 0.6591 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.6437, allocations: 87.41 kB / 0.6592 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.6437, allocations: 3.938 kB / 0.6592 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.0195/0.6632, allocations: 11.68 MB / 0.6706 GB, free: 4.078 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches