Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 199.9 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006933/0.0006935, allocations: 91.42 kB / 295.1 MB, free: 4.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1724/0.1724, allocations: 44.85 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002558, allocations: 8 kB / 464.7 MB, free: 68.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1002, allocations: 62.95 MB / 0.5153 GB, free: 5.133 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3337/0.4339, allocations: 146 MB / 0.6579 GB, free: 3.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.4366, allocations: 1.632 MB / 0.6595 GB, free: 1.887 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.4369, allocations: 19.88 kB / 0.6595 GB, free: 1.867 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.4374, allocations: 174.9 kB / 0.6597 GB, free: 1.695 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00144/0.4388, allocations: 0.6651 MB / 0.6604 GB, free: 1.031 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.44, allocations: 0.5231 MB / 0.6609 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.4411, allocations: 1.345 MB / 0.6622 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.4415, allocations: 261.3 kB / 0.6624 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.442, allocations: 414.4 kB / 0.6628 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.4424, allocations: 366.6 kB / 0.6632 GB, free: 14.14 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.4425, allocations: 24 kB / 0.6632 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00069/0.4432, allocations: 396.8 kB / 0.6636 GB, free: 13.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.4433, allocations: 139.5 kB / 0.6637 GB, free: 13.6 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.4434, allocations: 117.5 kB / 0.6638 GB, free: 13.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.4441, allocations: 0.6604 MB / 0.6645 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4441, allocations: 4 kB / 0.6645 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4441, allocations: 0 / 0.6645 GB, free: 12.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.4441, allocations: 0 / 0.6645 GB, free: 12.81 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.001355/0.4455, allocations: 0.8211 MB / 0.6653 GB, free: 11.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.4455, allocations: 12.03 kB / 0.6653 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.4458, allocations: 67.33 kB / 0.6653 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.4463, allocations: 382.6 kB / 0.6657 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/0.4464, allocations: 69.69 kB / 0.6658 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.4464, allocations: 36 kB / 0.6658 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.4473, allocations: 0.5283 MB / 0.6663 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4473, allocations: 7.922 kB / 0.6663 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.4474, allocations: 16 kB / 0.6663 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.4474, allocations: 16.66 kB / 0.6664 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/0.4483, allocations: 434.1 kB / 0.6668 GB, free: 10.3 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.00281/0.4511, allocations: 2.486 MB / 0.6692 GB, free: 7.645 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007844/0.4519, allocations: 371.3 kB / 0.6696 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.4523, allocations: 169.3 kB / 0.6697 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.4523, allocations: 4.281 kB / 0.6697 GB, free: 7.102 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005118/0.4528, allocations: 288.7 kB / 0.67 GB, free: 6.797 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.4529, allocations: 0 / 0.67 GB, free: 6.797 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.01121/0.4641, allocations: 3.603 MB / 0.6735 GB, free: 3.066 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.4642, allocations: 166.2 kB / 0.6737 GB, free: 2.867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.4645, allocations: 385.5 kB / 0.674 GB, free: 2.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.4646, allocations: 33.7 kB / 0.6741 GB, free: 2.441 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.4648, allocations: 255.9 kB / 0.6743 GB, free: 2.188 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4649, allocations: 157.7 kB / 0.6745 GB, free: 2.031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.4649, allocations: 16 kB / 0.6745 GB, free: 2.016 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.465, allocations: 358.8 kB / 0.6748 GB, free: 1.656 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.4656, allocations: 241.1 kB / 0.6751 GB, free: 1.422 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.4663, allocations: 429.1 kB / 0.6755 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.4669, allocations: 326.3 kB / 0.6758 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4669, allocations: 4 kB / 0.6758 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001711/0.4687, allocations: 0.8141 MB / 0.6766 GB, free: 15.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.4687, allocations: 39.52 kB / 0.6766 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4687, allocations: 4 kB / 0.6766 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.4691, allocations: 120.8 kB / 0.6767 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.4697, allocations: 152.2 kB / 0.6769 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005228/0.4702, allocations: 0.6733 MB / 0.6775 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.4707, allocations: 72 kB / 0.6776 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.4708, allocations: 40 kB / 0.6776 GB, free: 14.64 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.000236/0.471, allocations: 209.7 kB / 0.6778 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.4711, allocations: 47.44 kB / 0.6779 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.4731, allocations: 0.7811 MB / 0.6787 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4731, allocations: 4 kB / 0.6787 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4731, allocations: 4 kB / 0.6787 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4731, allocations: 7.891 kB / 0.6787 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.4755, allocations: 1.324 MB / 0.68 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4755, allocations: 7.938 kB / 0.68 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.476, allocations: 120 kB / 0.6801 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005563/0.4765, allocations: 108.7 kB / 0.6802 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.4766, allocations: 19.98 kB / 0.6802 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.4782, allocations: 1.699 MB / 0.6819 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4782, allocations: 0 / 0.6819 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.4804, allocations: 1.04 MB / 0.6829 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.4806, allocations: 164.5 kB / 0.683 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.4807, allocations: 12 kB / 0.683 GB, free: 8.812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.4812, allocations: 67.94 kB / 0.6831 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.4813, allocations: 63.8 kB / 0.6832 GB, free: 8.684 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/0.4813, allocations: 32 kB / 0.6832 GB, free: 8.652 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000267/0.4816, allocations: 275.1 kB / 0.6835 GB, free: 8.387 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4816, allocations: 0 / 0.6835 GB, free: 8.387 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007071/0.4823, allocations: 235.9 kB / 0.6837 GB, free: 8.156 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.0007672/0.4831, allocations: 304.8 kB / 0.684 GB, free: 7.855 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.4846, allocations: 0.646 MB / 0.6846 GB, free: 7.199 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4846, allocations: 0 / 0.6846 GB, free: 7.199 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.4854, allocations: 431.1 kB / 0.685 GB, free: 6.766 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/0.4864, allocations: 196.1 kB / 0.6852 GB, free: 6.574 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.4883, allocations: 1.425 MB / 0.6866 GB, free: 5.105 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4887, allocations: 0.8513 MB / 0.6874 GB, free: 4.227 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.489, allocations: 79.41 kB / 0.6875 GB, free: 4.148 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.489, allocations: 0 / 0.6875 GB, free: 4.148 MB / 474.7 MB Notification: Performance of Templates: time 0.01507/0.5041, allocations: 11.57 MB / 0.6988 GB, free: 8.625 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches