Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001582, allocations: 178.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007006/0.0007006, allocations: 84.86 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.378/0.378, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 16 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1457, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4687/0.6144, allocations: 148.6 MB / 0.6238 GB, free: 2.438 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006652/0.6211, allocations: 3.898 MB / 0.6276 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008208/0.622, allocations: 15.88 kB / 0.6276 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.6227, allocations: 170.9 kB / 0.6278 GB, free: 14.36 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002149/0.6248, allocations: 0.7114 MB / 0.6285 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.6264, allocations: 0.537 MB / 0.629 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.6277, allocations: 1.334 MB / 0.6303 GB, free: 11.78 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.6282, allocations: 268.2 kB / 0.6306 GB, free: 11.52 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006465/0.6288, allocations: 398.4 kB / 0.631 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.6293, allocations: 370.6 kB / 0.6313 GB, free: 10.76 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.6294, allocations: 23.94 kB / 0.6313 GB, free: 10.74 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.6305, allocations: 431.3 kB / 0.6318 GB, free: 10.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.6306, allocations: 131.6 kB / 0.6319 GB, free: 10.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.6308, allocations: 117.5 kB / 0.632 GB, free: 10.07 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.6317, allocations: 0.6624 MB / 0.6326 GB, free: 9.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.6317, allocations: 0 / 0.6326 GB, free: 9.402 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6317, allocations: 0 / 0.6326 GB, free: 9.402 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.6317, allocations: 0 / 0.6326 GB, free: 9.402 MB / 458.7 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.001867/0.6336, allocations: 0.8313 MB / 0.6335 GB, free: 8.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.6337, allocations: 16 kB / 0.6335 GB, free: 8.504 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.6341, allocations: 71.42 kB / 0.6335 GB, free: 8.434 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005915/0.6347, allocations: 374.7 kB / 0.6339 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.6348, allocations: 58.7 kB / 0.6339 GB, free: 7.965 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.6349, allocations: 40.94 kB / 0.634 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.6359, allocations: 0.5322 MB / 0.6345 GB, free: 7.352 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.6359, allocations: 7.938 kB / 0.6345 GB, free: 7.344 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.636, allocations: 19.95 kB / 0.6345 GB, free: 7.324 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.636, allocations: 12.66 kB / 0.6345 GB, free: 7.309 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000944/0.637, allocations: 426.2 kB / 0.635 GB, free: 6.895 MB / 458.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.003399/0.6404, allocations: 2.523 MB / 0.6374 GB, free: 4.191 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.6412, allocations: 363.4 kB / 0.6378 GB, free: 3.828 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.6416, allocations: 174.5 kB / 0.6379 GB, free: 3.656 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.6417, allocations: 4.281 kB / 0.6379 GB, free: 3.652 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006043/0.6423, allocations: 280.2 kB / 0.6382 GB, free: 3.355 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 3.908e-06/0.6423, allocations: 0 / 0.6382 GB, free: 3.355 MB / 458.7 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.01257/0.6549, allocations: 3.603 MB / 0.6417 GB, free: 15.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.655, allocations: 162.2 kB / 0.6419 GB, free: 15.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.6555, allocations: 377.6 kB / 0.6422 GB, free: 15.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.6556, allocations: 41.64 kB / 0.6423 GB, free: 15.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.6558, allocations: 255.9 kB / 0.6425 GB, free: 14.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.6559, allocations: 169.6 kB / 0.6427 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.656, allocations: 12 kB / 0.6427 GB, free: 14.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6562, allocations: 354.8 kB / 0.643 GB, free: 14.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.6568, allocations: 241.1 kB / 0.6433 GB, free: 13.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.6576, allocations: 433 kB / 0.6437 GB, free: 13.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.6583, allocations: 318.3 kB / 0.644 GB, free: 13.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6583, allocations: 4 kB / 0.644 GB, free: 13.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001839/0.6601, allocations: 0.8176 MB / 0.6448 GB, free: 12.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.6602, allocations: 34.36 kB / 0.6448 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6602, allocations: 4 kB / 0.6448 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.6607, allocations: 120.8 kB / 0.6449 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.6613, allocations: 147.8 kB / 0.6451 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006181/0.6619, allocations: 0.6734 MB / 0.6457 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.6625, allocations: 68.02 kB / 0.6458 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.6626, allocations: 47.98 kB / 0.6458 GB, free: 11.21 MB / 474.7 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003107/0.6629, allocations: 197.6 kB / 0.646 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.663, allocations: 51.42 kB / 0.6461 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.6651, allocations: 0.7793 MB / 0.6468 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6652, allocations: 4 kB / 0.6468 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6652, allocations: 4 kB / 0.6468 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.6652, allocations: 7.984 kB / 0.6469 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.6679, allocations: 1.323 MB / 0.6481 GB, free: 8.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6679, allocations: 4 kB / 0.6481 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.6684, allocations: 119.8 kB / 0.6483 GB, free: 8.629 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/0.669, allocations: 101.6 kB / 0.6484 GB, free: 8.527 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.6691, allocations: 19.98 kB / 0.6484 GB, free: 8.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.671, allocations: 1.693 MB / 0.65 GB, free: 6.684 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.6711, allocations: 0 / 0.65 GB, free: 6.684 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.6735, allocations: 1.044 MB / 0.6511 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.6738, allocations: 172.6 kB / 0.6512 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/0.6739, allocations: 8 kB / 0.6512 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.6744, allocations: 71.83 kB / 0.6513 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.6746, allocations: 59.91 kB / 0.6513 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.6746, allocations: 35.98 kB / 0.6514 GB, free: 5.246 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.675, allocations: 267.2 kB / 0.6516 GB, free: 4.988 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.452e-06/0.675, allocations: 0 / 0.6516 GB, free: 4.988 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009117/0.6759, allocations: 239.9 kB / 0.6519 GB, free: 4.754 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009335/0.6768, allocations: 305.7 kB / 0.6522 GB, free: 4.453 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.6786, allocations: 0.6488 MB / 0.6528 GB, free: 3.793 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6786, allocations: 0 / 0.6528 GB, free: 3.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.6795, allocations: 439.1 kB / 0.6532 GB, free: 3.355 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.6806, allocations: 202.6 kB / 0.6534 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.683, allocations: 1.421 MB / 0.6548 GB, free: 1.703 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.6834, allocations: 0.8553 MB / 0.6556 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.6837, allocations: 79.42 kB / 0.6557 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6838, allocations: 0 / 0.6557 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of Templates: time 0.021/0.7048, allocations: 11.64 MB / 0.6671 GB, free: 5.129 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches