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.0009695/0.0009695, allocations: 106.1 kB / 16.27 MB, free: 5.973 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.0009494/0.0009494, allocations: 195.3 kB / 17.2 MB, free: 5.605 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.28/1.28, allocations: 205.1 MB / 223.1 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1979/0.1979, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001511/0.001511, allocations: 72.5 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08579, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3985/0.4843, allocations: 163.3 MB / 0.5898 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.4894, allocations: 4.096 MB / 0.5938 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.4897, allocations: 14 kB / 0.5938 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.4903, allocations: 214.1 kB / 0.594 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.4922, allocations: 0.8302 MB / 0.5948 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.4936, allocations: 0.672 MB / 0.5955 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009139/0.4945, allocations: 1.154 MB / 0.5966 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.4949, allocations: 326.5 kB / 0.5969 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.4954, allocations: 463.8 kB / 0.5974 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.4958, allocations: 381.1 kB / 0.5977 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.4959, allocations: 45.53 kB / 0.5978 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008543/0.4968, allocations: 0.5451 MB / 0.5983 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.4969, allocations: 159.1 kB / 0.5985 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.4972, allocations: 267.1 kB / 0.5987 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009764/0.4982, allocations: 0.9691 MB / 0.5997 GB, free: 8.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4982, allocations: 4 kB / 0.5997 GB, free: 8.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4982, allocations: 0 / 0.5997 GB, free: 8.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.4982, allocations: 3.938 kB / 0.5997 GB, free: 8.109 MB / 430.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.001524/0.4997, allocations: 0.8994 MB / 0.6006 GB, free: 7.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.4998, allocations: 11.33 kB / 0.6006 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.583e-05/0.4999, allocations: 77.5 kB / 0.6006 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.5002, allocations: 65.42 kB / 0.6007 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.5007, allocations: 397.4 kB / 0.6011 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.5008, allocations: 61.69 kB / 0.6011 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/0.5009, allocations: 38.41 kB / 0.6012 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.5017, allocations: 0.5224 MB / 0.6017 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5018, allocations: 6.125 kB / 0.6017 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.5018, allocations: 23.34 kB / 0.6017 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.5018, allocations: 15.69 kB / 0.6017 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008178/0.5027, allocations: 402.2 kB / 0.6021 GB, free: 6.691 MB / 430.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.002997/0.5057, allocations: 2.489 MB / 0.6046 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007753/0.5065, allocations: 348.4 kB / 0.6049 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.5068, allocations: 153.6 kB / 0.605 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.5069, allocations: 9.875 kB / 0.605 GB, free: 4.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005244/0.5074, allocations: 273.3 kB / 0.6053 GB, free: 4.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.885e-06/0.5074, allocations: 0 / 0.6053 GB, free: 4.207 MB / 430.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.01224/0.5197, allocations: 3.233 MB / 0.6085 GB, free: 2.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.5199, allocations: 163 kB / 0.6086 GB, free: 2.109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.5205, allocations: 392.5 kB / 0.609 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.5206, allocations: 36.23 kB / 0.609 GB, free: 1.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.5209, allocations: 255.3 kB / 0.6093 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.5211, allocations: 163.6 kB / 0.6094 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.5213, allocations: 125.8 kB / 0.6095 GB, free: 1.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5215, allocations: 351.2 kB / 0.6099 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.5221, allocations: 223 kB / 0.6101 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008513/0.5229, allocations: 408.1 kB / 0.6105 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.5242, allocations: 0.6402 MB / 0.6111 GB, free: 140 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5242, allocations: 0 / 0.6111 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001859/0.5261, allocations: 0.7962 MB / 0.6119 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.5262, allocations: 37.53 kB / 0.6119 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5262, allocations: 4.344 kB / 0.6119 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.5266, allocations: 114 kB / 0.612 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/0.5272, allocations: 138.1 kB / 0.6122 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005522/0.5278, allocations: 0.6771 MB / 0.6128 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.5283, allocations: 45.05 kB / 0.6129 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.5283, allocations: 43.84 kB / 0.6129 GB, free: 14.96 MB / 446.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.0002723/0.5286, allocations: 207.8 kB / 0.6131 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.5287, allocations: 52.22 kB / 0.6132 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.5307, allocations: 0.7434 MB / 0.6139 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5307, allocations: 4.688 kB / 0.6139 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5307, allocations: 0 / 0.6139 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5307, allocations: 0 / 0.6139 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.5332, allocations: 1.28 MB / 0.6151 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5332, allocations: 0 / 0.6151 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.5337, allocations: 107.8 kB / 0.6152 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/0.5343, allocations: 104.9 kB / 0.6153 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.5343, allocations: 23.92 kB / 0.6154 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.5362, allocations: 1.821 MB / 0.6171 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5362, allocations: 0 / 0.6171 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.5385, allocations: 0.9668 MB / 0.6181 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.5387, allocations: 168.5 kB / 0.6182 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.5388, allocations: 12 kB / 0.6183 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.5392, allocations: 43.94 kB / 0.6183 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.5394, allocations: 59.88 kB / 0.6184 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.5394, allocations: 35.98 kB / 0.6184 GB, free: 9.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002918/0.5397, allocations: 275.1 kB / 0.6187 GB, free: 9.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5397, allocations: 0 / 0.6187 GB, free: 9.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007509/0.5405, allocations: 243.9 kB / 0.6189 GB, free: 9.191 MB / 446.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.003102/0.5436, allocations: 1.741 MB / 0.6206 GB, free: 7.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.5452, allocations: 0.6263 MB / 0.6212 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5452, allocations: 0 / 0.6212 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008498/0.5461, allocations: 429.4 kB / 0.6216 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5471, allocations: 215.9 kB / 0.6218 GB, free: 6.164 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008054/0.5551, allocations: 5.138 MB / 0.6268 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.5556, allocations: 0.8553 MB / 0.6277 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006498/0.5562, allocations: 148.6 kB / 0.6278 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.5566, allocations: 195.4 kB / 0.628 GB, free: 15.57 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5566, allocations: 0 / 0.628 GB, free: 15.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2719/0.8285, allocations: 18.48 MB / 0.646 GB, free: 13.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.22, allocations: 11.91 kB / 0.6461 GB, free: 13.09 MB / 478.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches