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.0009047/0.0009047, allocations: 94.83 kB / 18.01 MB, free: 5.734 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.001074/0.001074, allocations: 179.5 kB / 18.91 MB, free: 4.871 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.411/1.411, allocations: 223.3 MB / 243 MB, free: 14.37 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.2142/0.2142, allocations: 44.24 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3843/0.4922, allocations: 156.4 MB / 0.6146 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.4957, allocations: 1.743 MB / 0.6163 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006782/0.4965, allocations: 15.88 kB / 0.6163 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.4972, allocations: 183 kB / 0.6165 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.4995, allocations: 0.6866 MB / 0.6171 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.5012, allocations: 0.5858 MB / 0.6177 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.5031, allocations: 1.595 MB / 0.6193 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.5037, allocations: 297.2 kB / 0.6195 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009816/0.5047, allocations: 410.3 kB / 0.6199 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.5054, allocations: 390.5 kB / 0.6203 GB, free: 388 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.5055, allocations: 20 kB / 0.6203 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.5067, allocations: 499.2 kB / 0.6208 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.5069, allocations: 135.5 kB / 0.6209 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.5073, allocations: 284.4 kB / 0.6212 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009243/0.5082, allocations: 0.682 MB / 0.6219 GB, free: 14.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5082, allocations: 7.938 kB / 0.6219 GB, free: 14.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5082, allocations: 0 / 0.6219 GB, free: 14.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.5082, allocations: 0 / 0.6219 GB, free: 14.76 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.001681/0.5099, allocations: 0.8119 MB / 0.6227 GB, free: 13.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.51, allocations: 8.031 kB / 0.6227 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.5104, allocations: 75.33 kB / 0.6227 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.5111, allocations: 402.2 kB / 0.6231 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.5112, allocations: 58.7 kB / 0.6232 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.5113, allocations: 35.94 kB / 0.6232 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.5123, allocations: 0.5361 MB / 0.6237 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.5123, allocations: 0 / 0.6237 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.5124, allocations: 20 kB / 0.6238 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.5124, allocations: 12.66 kB / 0.6238 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.5134, allocations: 430.1 kB / 0.6242 GB, free: 12.25 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.003239/0.5167, allocations: 2.518 MB / 0.6266 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.5175, allocations: 367.4 kB / 0.627 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.518, allocations: 169.3 kB / 0.6272 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.518, allocations: 12.22 kB / 0.6272 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005822/0.5186, allocations: 276.8 kB / 0.6274 GB, free: 8.703 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.5186, allocations: 7.875 kB / 0.6274 GB, free: 8.695 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.01282/0.5314, allocations: 3.607 MB / 0.631 GB, free: 4.961 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.5316, allocations: 170.1 kB / 0.6311 GB, free: 4.758 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.532, allocations: 377.6 kB / 0.6315 GB, free: 4.379 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.5321, allocations: 41.7 kB / 0.6315 GB, free: 4.332 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5323, allocations: 259.9 kB / 0.6318 GB, free: 4.074 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.5325, allocations: 165.7 kB / 0.6319 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.5326, allocations: 53.69 kB / 0.632 GB, free: 3.852 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5327, allocations: 354.8 kB / 0.6323 GB, free: 3.496 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.5334, allocations: 249.1 kB / 0.6326 GB, free: 3.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.5341, allocations: 433.1 kB / 0.633 GB, free: 2.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5355, allocations: 0.6824 MB / 0.6336 GB, free: 1.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5356, allocations: 0 / 0.6336 GB, free: 1.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001999/0.5376, allocations: 0.8414 MB / 0.6345 GB, free: 1.137 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.5376, allocations: 37.69 kB / 0.6345 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5376, allocations: 4 kB / 0.6345 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.5381, allocations: 112.8 kB / 0.6346 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.5387, allocations: 156.1 kB / 0.6348 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005813/0.5393, allocations: 0.6732 MB / 0.6354 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.5399, allocations: 72 kB / 0.6355 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/0.54, allocations: 40 kB / 0.6355 GB, free: 16 kB / 462.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.000312/0.5403, allocations: 207.8 kB / 0.6357 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.5404, allocations: 47.44 kB / 0.6358 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.5425, allocations: 0.793 MB / 0.6365 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5426, allocations: 4 kB / 0.6365 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5426, allocations: 0 / 0.6365 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.5426, allocations: 3.984 kB / 0.6365 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.5453, allocations: 1.325 MB / 0.6378 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5453, allocations: 0 / 0.6378 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.5458, allocations: 124 kB / 0.638 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006079/0.5465, allocations: 108.7 kB / 0.6381 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.5465, allocations: 19.94 kB / 0.6381 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.5483, allocations: 1.691 MB / 0.6397 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5484, allocations: 0 / 0.6397 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.5508, allocations: 1.052 MB / 0.6408 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.551, allocations: 164.5 kB / 0.6409 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.5511, allocations: 15.94 kB / 0.6409 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.5517, allocations: 67.81 kB / 0.641 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.5518, allocations: 63.86 kB / 0.6411 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/0.5519, allocations: 36.08 kB / 0.6411 GB, free: 10.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003242/0.5522, allocations: 275.1 kB / 0.6413 GB, free: 9.754 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5523, allocations: 4 kB / 0.6414 GB, free: 9.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008693/0.5531, allocations: 228 kB / 0.6416 GB, free: 9.527 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.0008883/0.554, allocations: 301.8 kB / 0.6419 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.5557, allocations: 0.6501 MB / 0.6425 GB, free: 8.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5557, allocations: 0 / 0.6425 GB, free: 8.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009191/0.5566, allocations: 438.9 kB / 0.6429 GB, free: 8.129 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.5578, allocations: 201 kB / 0.6431 GB, free: 7.934 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.5601, allocations: 1.465 MB / 0.6445 GB, free: 6.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.5606, allocations: 0.8591 MB / 0.6454 GB, free: 5.531 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.5609, allocations: 75.42 kB / 0.6454 GB, free: 5.457 MB / 478.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5609, allocations: 0 / 0.6454 GB, free: 5.457 MB / 478.1 MB Notification: Performance of Templates: time 0.01737/0.5783, allocations: 11.53 MB / 0.6567 GB, free: 9.969 MB / 494.1 MB 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