Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009904/0.0009903, allocations: 101.8 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 192.3 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.19 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003329, allocations: 8 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 63.57 MB / 482.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4789/0.6416, allocations: 148.9 MB / 0.6165 GB, free: 452 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00506/0.6467, allocations: 1.647 MB / 0.6181 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000721/0.6475, allocations: 15.88 kB / 0.6181 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007836/0.6483, allocations: 178.8 kB / 0.6183 GB, free: 14.6 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00293/0.6512, allocations: 0.661 MB / 0.6189 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.6535, allocations: 0.5211 MB / 0.6194 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.6557, allocations: 1.341 MB / 0.6207 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/0.6563, allocations: 275.8 kB / 0.621 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.6574, allocations: 410.4 kB / 0.6214 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006881/0.6581, allocations: 370.5 kB / 0.6217 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.131e-05/0.6582, allocations: 27.98 kB / 0.6218 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.6597, allocations: 402.4 kB / 0.6221 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.6599, allocations: 127.5 kB / 0.6223 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.6602, allocations: 121.5 kB / 0.6224 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.6613, allocations: 0.6625 MB / 0.623 GB, free: 9.711 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6613, allocations: 0 / 0.623 GB, free: 9.711 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6614, allocations: 0 / 0.623 GB, free: 9.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.6614, allocations: 4 kB / 0.623 GB, free: 9.707 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.002089/0.6635, allocations: 0.8149 MB / 0.6238 GB, free: 8.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.6635, allocations: 17.03 kB / 0.6238 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005542/0.6641, allocations: 71.33 kB / 0.6239 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.6649, allocations: 386.6 kB / 0.6243 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.6651, allocations: 58.7 kB / 0.6243 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.6652, allocations: 43.94 kB / 0.6244 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.6663, allocations: 0.5244 MB / 0.6249 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.6663, allocations: 4 kB / 0.6249 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.6664, allocations: 16 kB / 0.6249 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.6664, allocations: 12.66 kB / 0.6249 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009347/0.6674, allocations: 430.1 kB / 0.6253 GB, free: 7.207 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.004267/0.6717, allocations: 2.485 MB / 0.6278 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.6728, allocations: 367.4 kB / 0.6281 GB, free: 4.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.6733, allocations: 172.3 kB / 0.6283 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.6733, allocations: 8.281 kB / 0.6283 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007424/0.6741, allocations: 288.7 kB / 0.6286 GB, free: 3.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/0.6741, allocations: 4 kB / 0.6286 GB, free: 3.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.01719/0.6913, allocations: 3.596 MB / 0.6321 GB, free: 15.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.6914, allocations: 166.2 kB / 0.6322 GB, free: 15.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.6919, allocations: 385.5 kB / 0.6326 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.692, allocations: 37.7 kB / 0.6326 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.6923, allocations: 260 kB / 0.6329 GB, free: 15.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.6925, allocations: 153.8 kB / 0.633 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.6925, allocations: 12 kB / 0.633 GB, free: 14.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.6928, allocations: 354.8 kB / 0.6334 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009056/0.6937, allocations: 241.1 kB / 0.6336 GB, free: 14.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.6948, allocations: 441 kB / 0.634 GB, free: 13.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.6958, allocations: 314.3 kB / 0.6343 GB, free: 13.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6959, allocations: 4 kB / 0.6343 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002429/0.6983, allocations: 0.8181 MB / 0.6351 GB, free: 12.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.6984, allocations: 33.7 kB / 0.6352 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6984, allocations: 4 kB / 0.6352 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.699, allocations: 116.8 kB / 0.6353 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.6997, allocations: 155.9 kB / 0.6354 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007874/0.7006, allocations: 0.6733 MB / 0.6361 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/0.7013, allocations: 68.02 kB / 0.6361 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.722e-05/0.7014, allocations: 51.92 kB / 0.6362 GB, free: 11.54 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003781/0.7018, allocations: 198.2 kB / 0.6364 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.7019, allocations: 55.42 kB / 0.6364 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.7047, allocations: 0.7846 MB / 0.6372 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.7047, allocations: 7.938 kB / 0.6372 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7047, allocations: 0 / 0.6372 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7047, allocations: 7.938 kB / 0.6372 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.7083, allocations: 1.323 MB / 0.6385 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7083, allocations: 0 / 0.6385 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.709, allocations: 120 kB / 0.6386 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/0.7096, allocations: 104.7 kB / 0.6387 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.7097, allocations: 20 kB / 0.6387 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/0.7125, allocations: 1.695 MB / 0.6404 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.7125, allocations: 3.984 kB / 0.6404 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.7157, allocations: 1.036 MB / 0.6414 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.7161, allocations: 164.5 kB / 0.6416 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.7163, allocations: 15.98 kB / 0.6416 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.7168, allocations: 59.95 kB / 0.6416 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.7169, allocations: 71.8 kB / 0.6417 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.717, allocations: 35.98 kB / 0.6417 GB, free: 5.559 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003095/0.7173, allocations: 267.1 kB / 0.642 GB, free: 5.301 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7173, allocations: 4 kB / 0.642 GB, free: 5.297 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009178/0.7183, allocations: 239.9 kB / 0.6422 GB, free: 5.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009026/0.7192, allocations: 298.8 kB / 0.6425 GB, free: 4.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.7208, allocations: 0.6538 MB / 0.6432 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.7208, allocations: 0 / 0.6432 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008532/0.7217, allocations: 435.1 kB / 0.6436 GB, free: 3.664 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.7227, allocations: 197.5 kB / 0.6438 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.725, allocations: 1.389 MB / 0.6451 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.7255, allocations: 0.8591 MB / 0.646 GB, free: 1.148 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007056/0.7262, allocations: 148.2 kB / 0.6461 GB, free: 1.004 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.7265, allocations: 71.42 kB / 0.6462 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.7265, allocations: 0 / 0.6462 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of Templates: time 0.02341/0.7499, allocations: 12.26 MB / 0.6581 GB, free: 4.758 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches