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: 190.4 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.5 MB / 244.1 MB, free: 8.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007477/0.0007478, allocations: 95.81 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3305/0.3305, allocations: 44.81 MB / 392.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 11.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3959, allocations: 62.94 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.415, allocations: 490.3 MB / 0.9953 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/1.416, allocations: 88.8 kB / 0.9954 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1933/1.609, allocations: 100 MB / 1.093 GB, free: 26.52 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.084e-06/1.609, allocations: 0 / 1.093 GB, free: 26.52 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.29e-05/1.609, allocations: 16 kB / 1.093 GB, free: 26.51 MB / 0.5417 GB 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.001612/1.611, allocations: 0.872 MB / 1.094 GB, free: 25.58 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.611, allocations: 8.875 kB / 1.094 GB, free: 25.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/1.611, allocations: 72.27 kB / 1.094 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/1.612, allocations: 419.6 kB / 1.094 GB, free: 25.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/1.612, allocations: 59.27 kB / 1.094 GB, free: 24.99 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/1.612, allocations: 36.73 kB / 1.094 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/1.613, allocations: 0.5408 MB / 1.095 GB, free: 24.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/1.613, allocations: 7.938 kB / 1.095 GB, free: 24.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/1.613, allocations: 16 kB / 1.095 GB, free: 24.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/1.613, allocations: 16.64 kB / 1.095 GB, free: 24.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/1.613, allocations: 422.2 kB / 1.095 GB, free: 23.92 MB / 0.5417 GB 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.00245/1.616, allocations: 2.468 MB / 1.098 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/1.617, allocations: 358.5 kB / 1.098 GB, free: 20.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/1.617, allocations: 173.3 kB / 1.098 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/1.617, allocations: 8.219 kB / 1.098 GB, free: 20.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004458/1.617, allocations: 285 kB / 1.099 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 3.206e-06/1.617, allocations: 0 / 1.099 GB, free: 20.44 MB / 0.5417 GB 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.01067/1.628, allocations: 3.628 MB / 1.102 GB, free: 16.67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.628, allocations: 166.2 kB / 1.102 GB, free: 16.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/1.628, allocations: 381.5 kB / 1.103 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/1.629, allocations: 33.7 kB / 1.103 GB, free: 16.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.629, allocations: 260 kB / 1.103 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/1.629, allocations: 153.8 kB / 1.103 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/1.629, allocations: 12 kB / 1.103 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/1.629, allocations: 362.7 kB / 1.103 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/1.629, allocations: 241.1 kB / 1.104 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/1.63, allocations: 429.1 kB / 1.104 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/1.631, allocations: 0.6747 MB / 1.105 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.631, allocations: 4 kB / 1.105 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001413/1.633, allocations: 0.8063 MB / 1.106 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.633, allocations: 33.7 kB / 1.106 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.633, allocations: 4 kB / 1.106 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004121/1.633, allocations: 116.8 kB / 1.106 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/1.634, allocations: 148.2 kB / 1.106 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004582/1.634, allocations: 0.6694 MB / 1.107 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/1.635, allocations: 75.94 kB / 1.107 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/1.635, allocations: 47.98 kB / 1.107 GB, free: 11.83 MB / 0.5417 GB 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.0002649/1.635, allocations: 197.7 kB / 1.107 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/1.635, allocations: 59.25 kB / 1.107 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/1.637, allocations: 0.7758 MB / 1.108 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.637, allocations: 4 kB / 1.108 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.637, allocations: 11.92 kB / 1.108 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.637, allocations: 0 / 1.108 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/1.639, allocations: 1.32 MB / 1.109 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.639, allocations: 3.938 kB / 1.109 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/1.639, allocations: 124 kB / 1.109 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/1.64, allocations: 100.8 kB / 1.109 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/1.64, allocations: 23.98 kB / 1.109 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/1.641, allocations: 1.679 MB / 1.111 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.641, allocations: 7.969 kB / 1.111 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/1.643, allocations: 1.04 MB / 1.112 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/1.644, allocations: 160.5 kB / 1.112 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/1.644, allocations: 15.98 kB / 1.112 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/1.644, allocations: 59.95 kB / 1.112 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.644, allocations: 63.84 kB / 1.112 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/1.644, allocations: 31.98 kB / 1.112 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002754/1.645, allocations: 271.1 kB / 1.112 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.645, allocations: 4 kB / 1.112 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001048/1.646, allocations: 303.9 kB / 1.113 GB, free: 5.32 MB / 0.5417 GB 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.001318/1.647, allocations: 0.7991 MB / 1.113 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0014/1.648, allocations: 0.6499 MB / 1.114 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.648, allocations: 4 kB / 1.114 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007198/1.649, allocations: 422.6 kB / 1.115 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.65, allocations: 191.6 kB / 1.115 GB, free: 3.238 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/1.652, allocations: 1.422 MB / 1.116 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.652, allocations: 0.856 MB / 1.117 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/1.653, allocations: 79.42 kB / 1.117 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of SimCode: time 6.12e-07/1.653, allocations: 0 / 1.117 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of Templates: time 0.2984/1.951, allocations: 14.43 MB / 1.131 GB, free: 142.6 MB / 0.5417 GB 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/jenkins1/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