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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_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.0008427/0.0008426, allocations: 96.81 kB / 17.35 MB, free: 6.344 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.000901/0.000901, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.214/1.214, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.1651/0.1651, allocations: 44.26 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 12.28 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08777, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3188/0.4066, allocations: 156.4 MB / 0.614 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.4094, allocations: 1.74 MB / 0.6157 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.4097, allocations: 15.88 kB / 0.6157 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.4102, allocations: 179 kB / 0.6159 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.4118, allocations: 0.6851 MB / 0.6166 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.413, allocations: 0.5912 MB / 0.6172 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.4143, allocations: 1.606 MB / 0.6187 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.4147, allocations: 281.8 kB / 0.619 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.4153, allocations: 410.3 kB / 0.6194 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.4157, allocations: 390.4 kB / 0.6198 GB, free: 228 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/0.4158, allocations: 24 kB / 0.6198 GB, free: 204 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007692/0.4165, allocations: 495.2 kB / 0.6203 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.4167, allocations: 139.5 kB / 0.6204 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.4169, allocations: 272.4 kB / 0.6207 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009359/0.4179, allocations: 0.9308 MB / 0.6216 GB, free: 14.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4179, allocations: 3.938 kB / 0.6216 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4179, allocations: 0 / 0.6216 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.4179, allocations: 0 / 0.6216 GB, free: 14.36 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.00141/0.4193, allocations: 0.8116 MB / 0.6224 GB, free: 13.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.4194, allocations: 8.031 kB / 0.6224 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.666e-05/0.4195, allocations: 78.53 kB / 0.6224 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.4198, allocations: 75.33 kB / 0.6225 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.4203, allocations: 394.3 kB / 0.6229 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.4203, allocations: 58.7 kB / 0.6229 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.4204, allocations: 43.92 kB / 0.623 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008882/0.4213, allocations: 0.5322 MB / 0.6235 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4213, allocations: 0 / 0.6235 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.4214, allocations: 23.98 kB / 0.6235 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.4214, allocations: 16.64 kB / 0.6235 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.4223, allocations: 426.2 kB / 0.624 GB, free: 11.77 MB / 462.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.002903/0.4253, allocations: 2.523 MB / 0.6264 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/0.4261, allocations: 375.3 kB / 0.6268 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.4264, allocations: 173.3 kB / 0.6269 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.4265, allocations: 4.281 kB / 0.6269 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/0.427, allocations: 280.8 kB / 0.6272 GB, free: 8.211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.427, allocations: 0 / 0.6272 GB, free: 8.211 MB / 462.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.01162/0.4387, allocations: 3.608 MB / 0.6307 GB, free: 4.477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.4388, allocations: 166.2 kB / 0.6309 GB, free: 4.277 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.4392, allocations: 381.6 kB / 0.6313 GB, free: 3.895 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.4392, allocations: 41.7 kB / 0.6313 GB, free: 3.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.4394, allocations: 256 kB / 0.6315 GB, free: 3.594 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.4395, allocations: 161.7 kB / 0.6317 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.4396, allocations: 53.69 kB / 0.6317 GB, free: 3.375 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4397, allocations: 354.8 kB / 0.6321 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.4403, allocations: 245.1 kB / 0.6323 GB, free: 2.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007153/0.4411, allocations: 441 kB / 0.6327 GB, free: 2.273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.4423, allocations: 0.6824 MB / 0.6334 GB, free: 1.516 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4424, allocations: 0 / 0.6334 GB, free: 1.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001806/0.4442, allocations: 0.8414 MB / 0.6342 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.4442, allocations: 33.7 kB / 0.6343 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4442, allocations: 4 kB / 0.6343 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.4446, allocations: 116.8 kB / 0.6344 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.4452, allocations: 152 kB / 0.6345 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005323/0.4457, allocations: 0.6732 MB / 0.6352 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.4462, allocations: 72 kB / 0.6352 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.4463, allocations: 51.92 kB / 0.6353 GB, free: 15.53 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.0002343/0.4465, allocations: 198.2 kB / 0.6355 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.4466, allocations: 47.44 kB / 0.6355 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.4486, allocations: 0.7814 MB / 0.6363 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4486, allocations: 5.188 kB / 0.6363 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4486, allocations: 0 / 0.6363 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4486, allocations: 3.938 kB / 0.6363 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.4509, allocations: 1.32 MB / 0.6376 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.451, allocations: 4 kB / 0.6376 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.4514, allocations: 120 kB / 0.6377 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/0.452, allocations: 116.7 kB / 0.6378 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.452, allocations: 23.98 kB / 0.6378 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.4536, allocations: 1.696 MB / 0.6395 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4536, allocations: 3.938 kB / 0.6395 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.4558, allocations: 1.048 MB / 0.6405 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.456, allocations: 172.5 kB / 0.6407 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/0.4561, allocations: 8 kB / 0.6407 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.4565, allocations: 67.88 kB / 0.6408 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.4567, allocations: 59.91 kB / 0.6408 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.4567, allocations: 39.92 kB / 0.6409 GB, free: 9.539 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.457, allocations: 267.2 kB / 0.6411 GB, free: 9.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.457, allocations: 4 kB / 0.6411 GB, free: 9.273 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.4577, allocations: 240 kB / 0.6413 GB, free: 9.039 MB / 478.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.003002/0.4607, allocations: 1.774 MB / 0.6431 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.4621, allocations: 0.6576 MB / 0.6437 GB, free: 6.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4621, allocations: 0 / 0.6437 GB, free: 6.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007885/0.4629, allocations: 435.2 kB / 0.6441 GB, free: 6.125 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.464, allocations: 207.2 kB / 0.6443 GB, free: 5.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/0.4716, allocations: 5.51 MB / 0.6497 GB, free: 172 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4719, allocations: 0.8553 MB / 0.6505 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005807/0.4725, allocations: 152.6 kB / 0.6507 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.4729, allocations: 191.4 kB / 0.6509 GB, free: 14.95 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.4729, allocations: 0 / 0.6509 GB, free: 14.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6925/1.165, allocations: 17.29 MB / 0.6678 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/1.166, allocations: 295.8 kB / 0.668 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.384, allocations: 0 / 0.668 GB, free: 13.56 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > 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