Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 93.23 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.325/0.325, allocations: 44.14 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 43.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.365, allocations: 60.8 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.171/0.536, allocations: 158.5 MB / 0.6612 GB, free: 1.137 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.5395, allocations: 1.75 MB / 0.6629 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005096/0.54, allocations: 23.81 kB / 0.6629 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.5407, allocations: 179 kB / 0.6631 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.5428, allocations: 0.6854 MB / 0.6637 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.5445, allocations: 0.5844 MB / 0.6643 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001963/0.5464, allocations: 1.599 MB / 0.6659 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.5469, allocations: 297.4 kB / 0.6661 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006969/0.5476, allocations: 430.2 kB / 0.6666 GB, free: 11.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.5481, allocations: 382.5 kB / 0.6669 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.5482, allocations: 24 kB / 0.6669 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.5495, allocations: 0.4914 MB / 0.6674 GB, free: 10.71 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.5497, allocations: 147.5 kB / 0.6676 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.5499, allocations: 254.7 kB / 0.6678 GB, free: 10.32 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.551, allocations: 0.931 MB / 0.6687 GB, free: 9.387 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.551, allocations: 0 / 0.6687 GB, free: 9.387 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.551, allocations: 0 / 0.6687 GB, free: 9.387 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.5511, allocations: 7.938 kB / 0.6687 GB, free: 9.379 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.00172/0.5528, allocations: 0.8906 MB / 0.6696 GB, free: 8.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5528, allocations: 12.03 kB / 0.6696 GB, free: 8.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/0.5532, allocations: 71.33 kB / 0.6697 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.5538, allocations: 398.3 kB / 0.6701 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.5539, allocations: 62.62 kB / 0.6701 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.554, allocations: 39.94 kB / 0.6701 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/0.5548, allocations: 0.5205 MB / 0.6707 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.5549, allocations: 4 kB / 0.6707 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.5549, allocations: 19.98 kB / 0.6707 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.555, allocations: 16.59 kB / 0.6707 GB, free: 7.215 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008507/0.5558, allocations: 410.2 kB / 0.6711 GB, free: 6.809 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.003002/0.5588, allocations: 2.487 MB / 0.6735 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007672/0.5596, allocations: 344.9 kB / 0.6738 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.56, allocations: 165.3 kB / 0.674 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.56, allocations: 8.266 kB / 0.674 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/0.5606, allocations: 264.8 kB / 0.6743 GB, free: 3.344 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/0.5606, allocations: 0 / 0.6743 GB, free: 3.344 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.2372/0.7978, allocations: 3.246 MB / 0.6774 GB, free: 146.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.7979, allocations: 165 kB / 0.6776 GB, free: 146.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.7986, allocations: 381.3 kB / 0.678 GB, free: 146.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.7987, allocations: 37.05 kB / 0.678 GB, free: 146.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.7989, allocations: 255.5 kB / 0.6782 GB, free: 146.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.799, allocations: 168.9 kB / 0.6784 GB, free: 146.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.7993, allocations: 129.6 kB / 0.6785 GB, free: 146.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7994, allocations: 355 kB / 0.6789 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.8001, allocations: 216.9 kB / 0.6791 GB, free: 145.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.801, allocations: 409.3 kB / 0.6795 GB, free: 145.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.8025, allocations: 0.6298 MB / 0.6801 GB, free: 145 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8025, allocations: 1.094 kB / 0.6801 GB, free: 145 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001914/0.8044, allocations: 0.7915 MB / 0.6808 GB, free: 144.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.8044, allocations: 33.92 kB / 0.6809 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.8045, allocations: 7.219 kB / 0.6809 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004627/0.8049, allocations: 113.8 kB / 0.681 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.8055, allocations: 139.5 kB / 0.6811 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004714/0.806, allocations: 0.6749 MB / 0.6818 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.8065, allocations: 57.05 kB / 0.6818 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.8066, allocations: 42.16 kB / 0.6819 GB, free: 144.1 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 (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.000267/0.8069, allocations: 200.7 kB / 0.6821 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.807, allocations: 51.44 kB / 0.6821 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.8088, allocations: 0.7439 MB / 0.6828 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.8089, allocations: 6.875 kB / 0.6829 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8089, allocations: 3.844 kB / 0.6829 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.8089, allocations: 3.422 kB / 0.6829 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.8111, allocations: 1.282 MB / 0.6841 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8111, allocations: 2.094 kB / 0.6841 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.8116, allocations: 105.6 kB / 0.6842 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005297/0.8121, allocations: 107.8 kB / 0.6843 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.8122, allocations: 15.34 kB / 0.6843 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.8136, allocations: 1.688 MB / 0.686 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8136, allocations: 6.938 kB / 0.686 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03516/0.8488, allocations: 8.616 MB / 0.6944 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.849, allocations: 162.2 kB / 0.6946 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.8491, allocations: 17.69 kB / 0.6946 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.8496, allocations: 57.97 kB / 0.6946 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.8498, allocations: 52.69 kB / 0.6947 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.8498, allocations: 35.47 kB / 0.6947 GB, free: 136.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002783/0.8501, allocations: 275.8 kB / 0.695 GB, free: 136.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8501, allocations: 4 kB / 0.695 GB, free: 136.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001416/0.8516, allocations: 472.6 kB / 0.6954 GB, free: 136.6 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 (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.001586/0.8532, allocations: 360.2 kB / 0.6958 GB, free: 136.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.8547, allocations: 0.6058 MB / 0.6964 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.8547, allocations: 2.625 kB / 0.6964 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008431/0.8556, allocations: 414.1 kB / 0.6968 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.8567, allocations: 206.6 kB / 0.697 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.8593, allocations: 1.78 MB / 0.6987 GB, free: 134.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.8597, allocations: 0.8704 MB / 0.6995 GB, free: 134 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009782/0.8607, allocations: 206.7 kB / 0.6997 GB, free: 134 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.861, allocations: 104.6 kB / 0.6998 GB, free: 134 MB / 490.7 MB Notification: Performance of SimCode: time 1.093e-06/0.861, allocations: 0 / 0.6998 GB, free: 134 MB / 490.7 MB Notification: Performance of Templates: time 0.04058/0.9016, allocations: 26.16 MB / 0.7254 GB, free: 125.4 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches