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.001087/0.001087, allocations: 195.2 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 243.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008532/0.0008533, allocations: 93.83 kB / 295.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3378/0.3378, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 11.98 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.332, allocations: 62.95 MB / 0.5159 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1467/0.4787, allocations: 146 MB / 0.6585 GB, free: 7.004 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.4816, allocations: 1.638 MB / 0.6601 GB, free: 5.363 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.482, allocations: 19.81 kB / 0.6601 GB, free: 5.344 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.4825, allocations: 166.9 kB / 0.6603 GB, free: 5.18 MB / 474.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.001682/0.4842, allocations: 0.6876 MB / 0.661 GB, free: 4.492 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.4855, allocations: 0.5349 MB / 0.6615 GB, free: 3.961 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.4868, allocations: 1.353 MB / 0.6628 GB, free: 2.605 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.4872, allocations: 278.1 kB / 0.6631 GB, free: 2.332 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.4878, allocations: 422.4 kB / 0.6635 GB, free: 1.918 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.4882, allocations: 362.6 kB / 0.6638 GB, free: 1.562 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.4883, allocations: 24 kB / 0.6638 GB, free: 1.539 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008971/0.4892, allocations: 479.8 kB / 0.6643 GB, free: 1.074 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.4894, allocations: 127.6 kB / 0.6644 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.4896, allocations: 276.5 kB / 0.6647 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.4904, allocations: 0.6835 MB / 0.6653 GB, free: 15.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4904, allocations: 0 / 0.6653 GB, free: 15.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4904, allocations: 0 / 0.6653 GB, free: 15.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4904, allocations: 4 kB / 0.6653 GB, free: 15.98 MB / 490.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.001407/0.4918, allocations: 0.8127 MB / 0.6661 GB, free: 15.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4919, allocations: 8.875 kB / 0.6661 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.4922, allocations: 71.33 kB / 0.6662 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.4927, allocations: 402.3 kB / 0.6666 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.4928, allocations: 70.56 kB / 0.6667 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.4929, allocations: 39.94 kB / 0.6667 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009/0.4938, allocations: 0.5244 MB / 0.6672 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.4938, allocations: 4 kB / 0.6672 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.4939, allocations: 19.98 kB / 0.6672 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.4939, allocations: 12.66 kB / 0.6673 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008854/0.4948, allocations: 430.1 kB / 0.6677 GB, free: 13.46 MB / 490.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.002902/0.4977, allocations: 2.481 MB / 0.6701 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.4985, allocations: 374.3 kB / 0.6704 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.4989, allocations: 172.1 kB / 0.6706 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.4989, allocations: 8.266 kB / 0.6706 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005169/0.4994, allocations: 280.7 kB / 0.6709 GB, free: 9.965 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.4995, allocations: 0 / 0.6709 GB, free: 9.965 MB / 490.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.01132/0.5108, allocations: 3.607 MB / 0.6744 GB, free: 6.227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.5109, allocations: 166.2 kB / 0.6746 GB, free: 6.027 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.5113, allocations: 377.5 kB / 0.6749 GB, free: 5.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.5113, allocations: 37.7 kB / 0.675 GB, free: 5.605 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.5115, allocations: 260 kB / 0.6752 GB, free: 5.348 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.5116, allocations: 161.7 kB / 0.6754 GB, free: 5.188 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.5117, allocations: 12 kB / 0.6754 GB, free: 5.176 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5118, allocations: 350.8 kB / 0.6757 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.5124, allocations: 241.1 kB / 0.6759 GB, free: 4.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.5131, allocations: 433.1 kB / 0.6764 GB, free: 4.086 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.5145, allocations: 0.6824 MB / 0.677 GB, free: 3.328 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5145, allocations: 0 / 0.677 GB, free: 3.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001785/0.5163, allocations: 0.8183 MB / 0.6778 GB, free: 2.492 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.5163, allocations: 37.69 kB / 0.6779 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5164, allocations: 11.88 kB / 0.6779 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.5168, allocations: 120.8 kB / 0.678 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.5173, allocations: 147.9 kB / 0.6781 GB, free: 2.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000579/0.5179, allocations: 0.6772 MB / 0.6788 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.5185, allocations: 72 kB / 0.6788 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.5185, allocations: 44 kB / 0.6789 GB, free: 1.355 MB / 490.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.0002673/0.5188, allocations: 197.6 kB / 0.6791 GB, free: 1.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.5189, allocations: 51.44 kB / 0.6791 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.5209, allocations: 0.7836 MB / 0.6799 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5209, allocations: 8 kB / 0.6799 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5209, allocations: 0 / 0.6799 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5209, allocations: 0 / 0.6799 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2204/0.7413, allocations: 1.331 MB / 0.6812 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.7414, allocations: 2 kB / 0.6812 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.7419, allocations: 117.2 kB / 0.6813 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/0.7425, allocations: 106.2 kB / 0.6814 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.7426, allocations: 19.94 kB / 0.6814 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.7441, allocations: 1.697 MB / 0.6831 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7441, allocations: 1.281 kB / 0.6831 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.7464, allocations: 1.049 MB / 0.6841 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.7466, allocations: 164 kB / 0.6843 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7468, allocations: 12.59 kB / 0.6843 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.7472, allocations: 60.08 kB / 0.6843 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.7474, allocations: 61.86 kB / 0.6844 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.7475, allocations: 36.27 kB / 0.6844 GB, free: 142.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.7478, allocations: 266 kB / 0.6847 GB, free: 142.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.7478, allocations: 0 / 0.6847 GB, free: 142.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007697/0.7485, allocations: 235.1 kB / 0.6849 GB, free: 142.1 MB / 490.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.0007458/0.7493, allocations: 297.8 kB / 0.6852 GB, free: 142 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.7507, allocations: 0.6501 MB / 0.6858 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7507, allocations: 0 / 0.6858 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.7515, allocations: 439.3 kB / 0.6863 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009834/0.7525, allocations: 191.5 kB / 0.6864 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.7542, allocations: 1.418 MB / 0.6878 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.7545, allocations: 0.8495 MB / 0.6887 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.7548, allocations: 77.36 kB / 0.6887 GB, free: 140 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.7548, allocations: 2.875 kB / 0.6887 GB, free: 140 MB / 490.7 MB Notification: Performance of Templates: time 0.01481/0.7696, allocations: 11.58 MB / 0.7 GB, free: 139 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