Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001329/0.001329, allocations: 102.3 kB / 15.98 MB, free: 6.352 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.001573/0.001573, allocations: 189.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3947/0.3947, allocations: 43.5 MB / 313.6 MB, free: 8.5 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 71.91 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1864, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5067/0.6931, allocations: 161.4 MB / 0.5873 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006004/0.6991, allocations: 4.148 MB / 0.5914 GB, free: 6.477 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.6995, allocations: 15.88 kB / 0.5914 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.7001, allocations: 179 kB / 0.5916 GB, free: 6.285 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.7023, allocations: 0.7651 MB / 0.5923 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.7037, allocations: 0.6058 MB / 0.5929 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.7049, allocations: 1.146 MB / 0.594 GB, free: 3.773 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.7054, allocations: 338.4 kB / 0.5943 GB, free: 3.445 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006881/0.7061, allocations: 466.3 kB / 0.5948 GB, free: 2.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.7065, allocations: 410.3 kB / 0.5952 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.7066, allocations: 44 kB / 0.5952 GB, free: 2.543 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000968/0.7076, allocations: 0.5577 MB / 0.5958 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.7078, allocations: 159.5 kB / 0.5959 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.7081, allocations: 274.7 kB / 0.5962 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.7093, allocations: 0.97 MB / 0.5971 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.7093, allocations: 4 kB / 0.5971 GB, free: 0.582 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7093, allocations: 0 / 0.5971 GB, free: 0.582 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.7094, allocations: 0 / 0.5971 GB, free: 0.582 MB / 462.1 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.001791/0.7112, allocations: 0.9075 MB / 0.598 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.7112, allocations: 11.89 kB / 0.598 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.7116, allocations: 71.42 kB / 0.5981 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.7121, allocations: 390.4 kB / 0.5985 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.7122, allocations: 58.7 kB / 0.5985 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.7123, allocations: 39.91 kB / 0.5986 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.7132, allocations: 0.5283 MB / 0.5991 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.7133, allocations: 11.94 kB / 0.5991 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.7133, allocations: 12 kB / 0.5991 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.7134, allocations: 16.66 kB / 0.5991 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.7142, allocations: 403.4 kB / 0.5995 GB, free: 14 MB / 478.1 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.003189/0.7174, allocations: 2.489 MB / 0.6019 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.7182, allocations: 345.7 kB / 0.6023 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.7186, allocations: 157.3 kB / 0.6024 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.7187, allocations: 8.281 kB / 0.6024 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005473/0.7192, allocations: 268.1 kB / 0.6027 GB, free: 10.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.235e-06/0.7192, allocations: 0 / 0.6027 GB, free: 10.54 MB / 478.1 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.01161/0.7308, allocations: 3.241 MB / 0.6058 GB, free: 7.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.731, allocations: 162.2 kB / 0.606 GB, free: 6.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.7314, allocations: 393.4 kB / 0.6064 GB, free: 6.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.7315, allocations: 37.7 kB / 0.6064 GB, free: 6.547 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.7317, allocations: 252 kB / 0.6066 GB, free: 6.297 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.7318, allocations: 169.6 kB / 0.6068 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.732, allocations: 118.3 kB / 0.6069 GB, free: 6.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7322, allocations: 358.8 kB / 0.6073 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.7328, allocations: 221.1 kB / 0.6075 GB, free: 5.434 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.7335, allocations: 409.1 kB / 0.6079 GB, free: 4.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.7348, allocations: 0.6317 MB / 0.6085 GB, free: 4.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7348, allocations: 4 kB / 0.6085 GB, free: 4.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001768/0.7366, allocations: 0.7982 MB / 0.6093 GB, free: 3.426 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.7367, allocations: 33.7 kB / 0.6093 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.7367, allocations: 10.56 kB / 0.6093 GB, free: 3.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.7371, allocations: 112.8 kB / 0.6094 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.7377, allocations: 140.1 kB / 0.6095 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007025/0.7385, allocations: 0.6762 MB / 0.6102 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.739, allocations: 56 kB / 0.6103 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.7391, allocations: 47.98 kB / 0.6103 GB, free: 2.328 MB / 478.1 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.0003215/0.7394, allocations: 197.6 kB / 0.6105 GB, free: 2.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/0.7395, allocations: 47.44 kB / 0.6105 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.7415, allocations: 0.7405 MB / 0.6113 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7415, allocations: 4 kB / 0.6113 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7415, allocations: 0 / 0.6113 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.7416, allocations: 3.984 kB / 0.6113 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.744, allocations: 1.28 MB / 0.6125 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.744, allocations: 0 / 0.6125 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.7445, allocations: 107.9 kB / 0.6126 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/0.745, allocations: 100.9 kB / 0.6127 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.7451, allocations: 23.98 kB / 0.6127 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.7469, allocations: 1.815 MB / 0.6145 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7469, allocations: 8 kB / 0.6145 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.749, allocations: 0.9738 MB / 0.6155 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.7492, allocations: 160.4 kB / 0.6156 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.7493, allocations: 16 kB / 0.6156 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.7498, allocations: 43.94 kB / 0.6157 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.7499, allocations: 63.92 kB / 0.6157 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.75, allocations: 35.98 kB / 0.6158 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.7503, allocations: 271.1 kB / 0.616 GB, free: 12.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7503, allocations: 0 / 0.616 GB, free: 12.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008257/0.7512, allocations: 239.9 kB / 0.6163 GB, free: 11.94 MB / 494.1 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.0008285/0.752, allocations: 324.1 kB / 0.6166 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.7536, allocations: 0.6405 MB / 0.6172 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7536, allocations: 0 / 0.6172 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.7545, allocations: 423.4 kB / 0.6176 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.7555, allocations: 214.6 kB / 0.6178 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.7577, allocations: 1.329 MB / 0.6191 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.7581, allocations: 0.8513 MB / 0.6199 GB, free: 8.125 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006618/0.7587, allocations: 160.4 kB / 0.6201 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.759, allocations: 75.42 kB / 0.6202 GB, free: 7.895 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.759, allocations: 0 / 0.6202 GB, free: 7.895 MB / 494.1 MB Notification: Performance of Templates: time 0.257/1.016, allocations: 13.35 MB / 0.6332 GB, free: 156.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches