Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.11 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 83.86 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3654, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2118/0.5772, allocations: 163.4 MB / 0.6912 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004363/0.5816, allocations: 1.669 MB / 0.6929 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.5823, allocations: 11.94 kB / 0.6929 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.5831, allocations: 210.5 kB / 0.6931 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.5859, allocations: 0.7881 MB / 0.6938 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.5879, allocations: 0.6851 MB / 0.6945 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.5895, allocations: 1.154 MB / 0.6956 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004866/0.59, allocations: 333.9 kB / 0.696 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008836/0.5909, allocations: 490.2 kB / 0.6964 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.5914, allocations: 378.5 kB / 0.6968 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.532e-05/0.5915, allocations: 48 kB / 0.6968 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.593, allocations: 0.5656 MB / 0.6974 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.5932, allocations: 155.5 kB / 0.6975 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.5935, allocations: 270.8 kB / 0.6978 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.5949, allocations: 0.9699 MB / 0.6987 GB, free: 6.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.595, allocations: 0 / 0.6987 GB, free: 6.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.595, allocations: 0 / 0.6987 GB, free: 6.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.595, allocations: 0 / 0.6987 GB, free: 6.004 MB / 0.545 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.001712/0.5967, allocations: 0.8945 MB / 0.6996 GB, free: 5.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5967, allocations: 17.05 kB / 0.6996 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003892/0.5971, allocations: 75.33 kB / 0.6997 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.5978, allocations: 418.2 kB / 0.7001 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.5979, allocations: 66.64 kB / 0.7002 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.5979, allocations: 39.98 kB / 0.7002 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009295/0.5989, allocations: 0.5166 MB / 0.7007 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.5989, allocations: 4 kB / 0.7007 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.599, allocations: 19.98 kB / 0.7007 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.599, allocations: 12.66 kB / 0.7007 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.5999, allocations: 410.1 kB / 0.7011 GB, free: 3.414 MB / 0.545 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.004099/0.604, allocations: 2.446 MB / 0.7035 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.6051, allocations: 351.3 kB / 0.7039 GB, free: 452 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.6057, allocations: 165.2 kB / 0.704 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.6058, allocations: 4.281 kB / 0.704 GB, free: 280 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008271/0.6066, allocations: 280.7 kB / 0.7043 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.685e-06/0.6067, allocations: 0 / 0.7043 GB, free: 15.98 MB / 0.5606 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.01659/0.6233, allocations: 3.232 MB / 0.7074 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.6234, allocations: 166.2 kB / 0.7076 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/0.6241, allocations: 385.5 kB / 0.708 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/0.6242, allocations: 37.7 kB / 0.708 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.6244, allocations: 252 kB / 0.7082 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.6246, allocations: 153.8 kB / 0.7084 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.6249, allocations: 126.2 kB / 0.7085 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.6251, allocations: 358.8 kB / 0.7089 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/0.626, allocations: 217.1 kB / 0.7091 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.6271, allocations: 413.1 kB / 0.7095 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.629, allocations: 0.6355 MB / 0.7101 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.629, allocations: 0 / 0.7101 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002799/0.6318, allocations: 0.7902 MB / 0.7108 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.6319, allocations: 37.69 kB / 0.7109 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.6319, allocations: 4 kB / 0.7109 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.6326, allocations: 117.4 kB / 0.711 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.6333, allocations: 135.8 kB / 0.7111 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008052/0.6342, allocations: 0.681 MB / 0.7118 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.6349, allocations: 52.02 kB / 0.7118 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.635, allocations: 51.92 kB / 0.7119 GB, free: 7.77 MB / 0.5606 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 (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.000399/0.6354, allocations: 197.6 kB / 0.7121 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.6355, allocations: 47.44 kB / 0.7121 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.638, allocations: 0.7367 MB / 0.7128 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.6381, allocations: 4 kB / 0.7128 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6381, allocations: 4 kB / 0.7129 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6381, allocations: 7.922 kB / 0.7129 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.6415, allocations: 1.273 MB / 0.7141 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.6415, allocations: 4 kB / 0.7141 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/0.6422, allocations: 107.8 kB / 0.7142 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008099/0.6431, allocations: 112.9 kB / 0.7143 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.6431, allocations: 19.98 kB / 0.7143 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.6457, allocations: 1.814 MB / 0.7161 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6458, allocations: 4.031 kB / 0.7161 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/0.6492, allocations: 0.971 MB / 0.7171 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.6496, allocations: 164.5 kB / 0.7172 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.6497, allocations: 12 kB / 0.7172 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.6505, allocations: 47.95 kB / 0.7173 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.6507, allocations: 55.86 kB / 0.7173 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.451e-05/0.6508, allocations: 35.98 kB / 0.7174 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00049/0.6513, allocations: 279.1 kB / 0.7176 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6514, allocations: 0 / 0.7176 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001299/0.6527, allocations: 235.9 kB / 0.7179 GB, free: 1.367 MB / 0.5606 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 (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.001067/0.6537, allocations: 307 kB / 0.7181 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.656, allocations: 0.6104 MB / 0.7187 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.6561, allocations: 0 / 0.7187 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.6573, allocations: 407 kB / 0.7191 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2816/0.9389, allocations: 218.7 kB / 0.7193 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.9415, allocations: 1.171 MB / 0.7205 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.942, allocations: 0.8522 MB / 0.7213 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.9423, allocations: 82.95 kB / 0.7214 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.9424, allocations: 0 / 0.7214 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.02259/0.965, allocations: 11.73 MB / 0.7328 GB, free: 177.8 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches