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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003623/0.003623, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.0009561/0.0009561, allocations: 191.6 kB / 16.79 MB, free: 6.242 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.13/1.13, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.2597/0.2597, allocations: 43.5 MB / 313.5 MB, free: 8.43 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.001277/0.001278, allocations: 75.83 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.08259, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.267/0.3496, allocations: 161.4 MB / 0.5873 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005372/0.355, allocations: 4.269 MB / 0.5914 GB, free: 6.281 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.3554, allocations: 15.88 kB / 0.5914 GB, free: 6.266 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.356, allocations: 187 kB / 0.5916 GB, free: 6.082 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.3577, allocations: 0.739 MB / 0.5923 GB, free: 5.344 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.359, allocations: 0.5822 MB / 0.5929 GB, free: 4.766 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.3602, allocations: 1.596 MB / 0.5945 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.3606, allocations: 285.1 kB / 0.5947 GB, free: 2.891 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005583/0.3611, allocations: 414.3 kB / 0.5951 GB, free: 2.484 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.3615, allocations: 398.4 kB / 0.5955 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.036e-05/0.3616, allocations: 24 kB / 0.5955 GB, free: 2.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008447/0.3625, allocations: 0.5186 MB / 0.5961 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3626, allocations: 147.5 kB / 0.5962 GB, free: 1.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.3629, allocations: 250.7 kB / 0.5964 GB, free: 1.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009688/0.3639, allocations: 0.9505 MB / 0.5974 GB, free: 212 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3639, allocations: 7.984 kB / 0.5974 GB, free: 204 kB / 462.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3639, allocations: 0 / 0.5974 GB, free: 204 kB / 462.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3639, allocations: 4 kB / 0.5974 GB, free: 200 kB / 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.001507/0.3654, allocations: 0.8998 MB / 0.5982 GB, free: 15.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3654, allocations: 12.03 kB / 0.5983 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.643e-05/0.3655, allocations: 74.53 kB / 0.5983 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.3659, allocations: 71.42 kB / 0.5984 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.3664, allocations: 386.4 kB / 0.5988 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.3664, allocations: 62.69 kB / 0.5988 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.3665, allocations: 43.84 kB / 0.5989 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.3674, allocations: 0.5244 MB / 0.5994 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3674, allocations: 7.984 kB / 0.5994 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.3675, allocations: 15.94 kB / 0.5994 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.3675, allocations: 20.66 kB / 0.5994 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.3683, allocations: 405.3 kB / 0.5998 GB, free: 13.54 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.002721/0.3711, allocations: 2.489 MB / 0.6022 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.3718, allocations: 339.4 kB / 0.6026 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.3722, allocations: 164.7 kB / 0.6027 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.3722, allocations: 8.266 kB / 0.6027 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.3727, allocations: 268.2 kB / 0.603 GB, free: 10.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.3727, allocations: 0 / 0.603 GB, free: 10.08 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.01092/0.3837, allocations: 3.247 MB / 0.6062 GB, free: 6.711 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.3837, allocations: 158.2 kB / 0.6063 GB, free: 6.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.3841, allocations: 389.5 kB / 0.6067 GB, free: 6.129 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.3841, allocations: 37.7 kB / 0.6067 GB, free: 6.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.3843, allocations: 255.9 kB / 0.607 GB, free: 5.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.3844, allocations: 161.7 kB / 0.6071 GB, free: 5.672 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.3846, allocations: 126.2 kB / 0.6072 GB, free: 5.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3847, allocations: 362.8 kB / 0.6076 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.3853, allocations: 213.2 kB / 0.6078 GB, free: 4.973 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.386, allocations: 417.1 kB / 0.6082 GB, free: 4.484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.3871, allocations: 0.6355 MB / 0.6088 GB, free: 3.773 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3871, allocations: 0 / 0.6088 GB, free: 3.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001713/0.3888, allocations: 0.7941 MB / 0.6096 GB, free: 2.961 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.3889, allocations: 33.7 kB / 0.6096 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3889, allocations: 4 kB / 0.6096 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.3893, allocations: 117.4 kB / 0.6097 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.3898, allocations: 131.8 kB / 0.6099 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005172/0.3903, allocations: 0.6772 MB / 0.6105 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.3908, allocations: 56 kB / 0.6106 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.3909, allocations: 44 kB / 0.6106 GB, free: 1.871 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.0002228/0.3911, allocations: 205.6 kB / 0.6108 GB, free: 1.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.3912, allocations: 47.44 kB / 0.6108 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.3931, allocations: 0.7383 MB / 0.6116 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3931, allocations: 8 kB / 0.6116 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3931, allocations: 0 / 0.6116 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3931, allocations: 3.984 kB / 0.6116 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.3954, allocations: 1.285 MB / 0.6128 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3954, allocations: 4 kB / 0.6128 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.3958, allocations: 103.9 kB / 0.6129 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/0.3964, allocations: 104.9 kB / 0.613 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.3964, allocations: 23.92 kB / 0.6131 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.398, allocations: 1.69 MB / 0.6147 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.398, allocations: 0 / 0.6147 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.4, allocations: 0.966 MB / 0.6157 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.4002, allocations: 160.5 kB / 0.6158 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.4003, allocations: 19.94 kB / 0.6158 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.4008, allocations: 47.94 kB / 0.6159 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4009, allocations: 63.84 kB / 0.6159 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.401, allocations: 35.98 kB / 0.616 GB, free: 12.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.4012, allocations: 271.2 kB / 0.6162 GB, free: 11.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4013, allocations: 4 kB / 0.6162 GB, free: 11.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006624/0.4019, allocations: 240 kB / 0.6165 GB, free: 11.6 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.002888/0.4048, allocations: 1.729 MB / 0.6181 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.4061, allocations: 0.5993 MB / 0.6187 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4061, allocations: 0 / 0.6187 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.4069, allocations: 426.8 kB / 0.6191 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.4079, allocations: 199.5 kB / 0.6193 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.4152, allocations: 5.278 MB / 0.6245 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.4156, allocations: 0.8591 MB / 0.6253 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005892/0.4162, allocations: 152.7 kB / 0.6255 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.4165, allocations: 191.4 kB / 0.6257 GB, free: 1.871 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4165, allocations: 0 / 0.6257 GB, free: 1.871 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5384/0.9549, allocations: 17.78 MB / 0.643 GB, free: 155.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.9551, allocations: 296.6 kB / 0.6433 GB, free: 155 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.425, allocations: 0 / 0.6433 GB, free: 155 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > 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/jenkins1/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