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: 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_3.2.3_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_3.2.3_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.001375/0.001375, allocations: 119.3 kB / 17.09 MB, free: 5.965 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.001289/0.001289, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.446/1.446, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.226/0.226, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 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.001682/0.001682, allocations: 69.45 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1371, allocations: 57.8 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5114/0.6485, allocations: 163.4 MB / 0.6481 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00688/0.6555, allocations: 4.103 MB / 0.6521 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007251/0.6563, allocations: 15.88 kB / 0.6521 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009222/0.6572, allocations: 206.6 kB / 0.6523 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.6601, allocations: 0.8361 MB / 0.6531 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.6627, allocations: 0.6693 MB / 0.6538 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.6645, allocations: 1.146 MB / 0.6549 GB, free: 144 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007796/0.6653, allocations: 325 kB / 0.6552 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.6665, allocations: 478.2 kB / 0.6556 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.6673, allocations: 378.5 kB / 0.656 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.6675, allocations: 44 kB / 0.656 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.6692, allocations: 0.6006 MB / 0.6566 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.6695, allocations: 155.5 kB / 0.6568 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005295/0.67, allocations: 266.7 kB / 0.657 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.6722, allocations: 0.9816 MB / 0.658 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6722, allocations: 0 / 0.658 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6722, allocations: 0 / 0.658 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.975e-05/0.6723, allocations: 0 / 0.658 GB, free: 12.94 MB / 0.4981 GB 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.002322/0.6746, allocations: 0.8945 MB / 0.6589 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6746, allocations: 11.89 kB / 0.6589 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.6751, allocations: 71.33 kB / 0.6589 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.6759, allocations: 418.3 kB / 0.6593 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-05/0.676, allocations: 58.7 kB / 0.6594 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-05/0.6761, allocations: 43.94 kB / 0.6594 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.6772, allocations: 0.5205 MB / 0.66 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.6772, allocations: 7.844 kB / 0.66 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/0.6773, allocations: 20 kB / 0.66 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.6773, allocations: 12.66 kB / 0.66 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/0.6783, allocations: 410.1 kB / 0.6604 GB, free: 10.36 MB / 0.4981 GB 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.004027/0.6823, allocations: 2.483 MB / 0.6628 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/0.6832, allocations: 343.3 kB / 0.6631 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.6836, allocations: 161.3 kB / 0.6633 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.6836, allocations: 4.281 kB / 0.6633 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006181/0.6843, allocations: 280 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.365e-06/0.6843, allocations: 0 / 0.6636 GB, free: 6.891 MB / 0.4981 GB 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.01279/0.6971, allocations: 3.246 MB / 0.6667 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.6972, allocations: 162.2 kB / 0.6669 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.6978, allocations: 389.4 kB / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.111e-05/0.6979, allocations: 37.7 kB / 0.6673 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.6982, allocations: 256 kB / 0.6675 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.6983, allocations: 157.8 kB / 0.6677 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6986, allocations: 122.2 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6988, allocations: 354.8 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/0.6994, allocations: 225.1 kB / 0.6684 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/0.7002, allocations: 406.2 kB / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.7017, allocations: 0.6355 MB / 0.6694 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7017, allocations: 0 / 0.6694 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002067/0.7038, allocations: 0.7904 MB / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.7039, allocations: 36.36 kB / 0.6702 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.7039, allocations: 7.984 kB / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.7044, allocations: 117.4 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.705, allocations: 143.8 kB / 0.6704 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006704/0.7057, allocations: 0.6693 MB / 0.6711 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.7063, allocations: 51.95 kB / 0.6711 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.7063, allocations: 40.94 kB / 0.6712 GB, free: 14.69 MB / 0.5137 GB 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.0003668/0.7067, allocations: 205.6 kB / 0.6714 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.7069, allocations: 51.44 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.7089, allocations: 0.7348 MB / 0.6721 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.709, allocations: 4 kB / 0.6721 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.709, allocations: 0 / 0.6721 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.709, allocations: 3.938 kB / 0.6721 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.7118, allocations: 1.281 MB / 0.6734 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.7118, allocations: 4.156 kB / 0.6734 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.7124, allocations: 107.9 kB / 0.6735 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005767/0.7129, allocations: 112.7 kB / 0.6736 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.713, allocations: 12 kB / 0.6736 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.715, allocations: 1.817 MB / 0.6754 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.7151, allocations: 7.922 kB / 0.6754 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.7175, allocations: 0.976 MB / 0.6764 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.7177, allocations: 168.5 kB / 0.6765 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.7179, allocations: 8 kB / 0.6765 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.7184, allocations: 47.94 kB / 0.6766 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.7186, allocations: 63.88 kB / 0.6766 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.7186, allocations: 35.98 kB / 0.6767 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003529/0.719, allocations: 271.1 kB / 0.6769 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.719, allocations: 0 / 0.6769 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009417/0.72, allocations: 239.9 kB / 0.6771 GB, free: 8.277 MB / 0.5137 GB 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.001179/0.7211, allocations: 312.8 kB / 0.6774 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.7229, allocations: 0.6072 MB / 0.678 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.7229, allocations: 0 / 0.678 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009453/0.7239, allocations: 418.1 kB / 0.6784 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.7251, allocations: 221.8 kB / 0.6786 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.7275, allocations: 1.168 MB / 0.6798 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.7281, allocations: 0.8513 MB / 0.6806 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.7284, allocations: 87.41 kB / 0.6807 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of SimCode: time 4.3e-07/0.7284, allocations: 0 / 0.6807 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of Templates: time 0.02103/0.7494, allocations: 11.8 MB / 0.6922 GB, free: 8.73 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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