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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 107.4 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 186.2 kB / 19.38 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4135, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1925/0.6061, allocations: 160.5 MB / 0.6763 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.6097, allocations: 1.68 MB / 0.6779 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.6104, allocations: 15.88 kB / 0.6779 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008381/0.6113, allocations: 206.6 kB / 0.6781 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.6141, allocations: 0.7654 MB / 0.6789 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.6161, allocations: 0.67 MB / 0.6795 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.6179, allocations: 1.146 MB / 0.6807 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.6186, allocations: 327.7 kB / 0.681 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.6198, allocations: 482.2 kB / 0.6814 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007703/0.6205, allocations: 374.5 kB / 0.6818 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.6207, allocations: 48 kB / 0.6818 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.6219, allocations: 0.5692 MB / 0.6824 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.6221, allocations: 159.5 kB / 0.6825 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.6224, allocations: 266.7 kB / 0.6828 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.6236, allocations: 0.9661 MB / 0.6837 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6236, allocations: 0 / 0.6837 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6236, allocations: 0 / 0.6837 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.6236, allocations: 3.938 kB / 0.6837 GB, free: 3.344 MB / 0.5294 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.001632/0.6253, allocations: 0.8983 MB / 0.6846 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.6253, allocations: 12.03 kB / 0.6846 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.6257, allocations: 67.33 kB / 0.6847 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.6263, allocations: 418.3 kB / 0.6851 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/0.6264, allocations: 62.64 kB / 0.6852 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.6264, allocations: 36 kB / 0.6852 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/0.6274, allocations: 0.5205 MB / 0.6857 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.6274, allocations: 4 kB / 0.6857 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.6275, allocations: 20 kB / 0.6857 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.6275, allocations: 12.66 kB / 0.6857 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.6284, allocations: 406.2 kB / 0.6861 GB, free: 0.7695 MB / 0.5294 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.002996/0.6314, allocations: 2.49 MB / 0.6886 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.6321, allocations: 343.3 kB / 0.6889 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.6325, allocations: 169.3 kB / 0.689 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.6326, allocations: 4.281 kB / 0.689 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005479/0.6331, allocations: 272.8 kB / 0.6893 GB, free: 13.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.6331, allocations: 3.938 kB / 0.6893 GB, free: 13.29 MB / 0.545 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.01203/0.6452, allocations: 3.24 MB / 0.6925 GB, free: 9.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.6453, allocations: 162.2 kB / 0.6926 GB, free: 9.719 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.6458, allocations: 389.5 kB / 0.693 GB, free: 9.328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.6458, allocations: 37.7 kB / 0.693 GB, free: 9.285 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.646, allocations: 260 kB / 0.6933 GB, free: 9.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6462, allocations: 153.8 kB / 0.6934 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.6464, allocations: 122.2 kB / 0.6935 GB, free: 8.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6465, allocations: 358.8 kB / 0.6939 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.6471, allocations: 221.1 kB / 0.6941 GB, free: 8.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.6478, allocations: 405.1 kB / 0.6945 GB, free: 7.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.6491, allocations: 0.6355 MB / 0.6951 GB, free: 6.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6491, allocations: 4 kB / 0.6951 GB, free: 6.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001844/0.651, allocations: 0.7906 MB / 0.6959 GB, free: 6.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.651, allocations: 33.7 kB / 0.6959 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.651, allocations: 11.98 kB / 0.6959 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/0.6515, allocations: 108.8 kB / 0.696 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.652, allocations: 136 kB / 0.6962 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005674/0.6526, allocations: 0.6772 MB / 0.6968 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.6531, allocations: 43.95 kB / 0.6969 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.6532, allocations: 52 kB / 0.6969 GB, free: 5.09 MB / 0.545 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.0002792/0.6534, allocations: 197.7 kB / 0.6971 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.6535, allocations: 47.44 kB / 0.6971 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.6554, allocations: 0.7406 MB / 0.6979 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6555, allocations: 4 kB / 0.6979 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6555, allocations: 0 / 0.6979 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.6555, allocations: 7.938 kB / 0.6979 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.6579, allocations: 1.281 MB / 0.6991 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6579, allocations: 0 / 0.6991 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.6583, allocations: 108 kB / 0.6992 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005486/0.6589, allocations: 108.6 kB / 0.6993 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.659, allocations: 16 kB / 0.6994 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.6609, allocations: 1.817 MB / 0.7011 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6609, allocations: 11.98 kB / 0.7011 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.6632, allocations: 0.9707 MB / 0.7021 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.6635, allocations: 164.5 kB / 0.7022 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.46e-05/0.6636, allocations: 15.91 kB / 0.7023 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.664, allocations: 51.88 kB / 0.7023 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.6642, allocations: 55.88 kB / 0.7024 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.6643, allocations: 39.98 kB / 0.7024 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003201/0.6646, allocations: 275.1 kB / 0.7027 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6646, allocations: 0 / 0.7027 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008043/0.6654, allocations: 228 kB / 0.7029 GB, free: 14.68 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.0007897/0.6662, allocations: 296.2 kB / 0.7032 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.6677, allocations: 0.6071 MB / 0.7038 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6678, allocations: 8 kB / 0.7038 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008324/0.6686, allocations: 402.1 kB / 0.7041 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.6696, allocations: 211.5 kB / 0.7043 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.6717, allocations: 1.188 MB / 0.7055 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.6721, allocations: 0.8553 MB / 0.7063 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.6723, allocations: 87.41 kB / 0.7064 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.6723, allocations: 0 / 0.7064 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.2969/0.9692, allocations: 11.65 MB / 0.7178 GB, free: 187.6 MB / 0.5606 GB 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/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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches