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.001164/0.001164, allocations: 104.1 kB / 16.27 MB, free: 5.988 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.001128/0.001129, allocations: 184.7 kB / 17.19 MB, free: 5.609 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.553/1.553, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2293/0.2293, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001644/0.001645, allocations: 71.8 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1243, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5293/0.6536, allocations: 163.3 MB / 0.5897 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007507/0.6612, allocations: 4.098 MB / 0.5937 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006534/0.6619, allocations: 14.62 kB / 0.5937 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008553/0.6627, allocations: 215.7 kB / 0.5939 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.6658, allocations: 0.8382 MB / 0.5948 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.6681, allocations: 0.6633 MB / 0.5954 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.6699, allocations: 1.15 MB / 0.5965 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005998/0.6705, allocations: 332.3 kB / 0.5968 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.6714, allocations: 462 kB / 0.5973 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.672, allocations: 376.6 kB / 0.5976 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.402e-05/0.6721, allocations: 45.47 kB / 0.5977 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.6737, allocations: 0.5469 MB / 0.5982 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.6739, allocations: 159.7 kB / 0.5984 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.6743, allocations: 265 kB / 0.5986 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.6762, allocations: 0.979 MB / 0.5996 GB, free: 8.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6762, allocations: 0 / 0.5996 GB, free: 8.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6762, allocations: 0 / 0.5996 GB, free: 8.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.6763, allocations: 0 / 0.5996 GB, free: 8.07 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.0019/0.6782, allocations: 0.8938 MB / 0.6005 GB, free: 7.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.6782, allocations: 13.77 kB / 0.6005 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.6787, allocations: 71.42 kB / 0.6005 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007741/0.6794, allocations: 397.9 kB / 0.6009 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.6796, allocations: 60.81 kB / 0.601 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/0.6797, allocations: 41.81 kB / 0.601 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.6808, allocations: 0.5168 MB / 0.6015 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.6808, allocations: 3.906 kB / 0.6015 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.6809, allocations: 26.52 kB / 0.6015 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.6809, allocations: 19.88 kB / 0.6016 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.6818, allocations: 397.2 kB / 0.6019 GB, free: 6.699 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.003285/0.6851, allocations: 2.495 MB / 0.6044 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.6859, allocations: 340.7 kB / 0.6047 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.6863, allocations: 161.9 kB / 0.6049 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.6864, allocations: 5 kB / 0.6049 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006316/0.687, allocations: 275.5 kB / 0.6051 GB, free: 4.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.687, allocations: 0 / 0.6051 GB, free: 4.285 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.01225/0.6993, allocations: 3.236 MB / 0.6083 GB, free: 2.379 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.6994, allocations: 167.4 kB / 0.6084 GB, free: 2.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.6999, allocations: 389.6 kB / 0.6088 GB, free: 1.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.7, allocations: 31.92 kB / 0.6088 GB, free: 1.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.7002, allocations: 259.3 kB / 0.6091 GB, free: 1.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.7003, allocations: 168 kB / 0.6093 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.7005, allocations: 121.6 kB / 0.6094 GB, free: 1.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.7007, allocations: 356.7 kB / 0.6097 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.7013, allocations: 223.6 kB / 0.6099 GB, free: 1.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/0.702, allocations: 401.7 kB / 0.6103 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.7034, allocations: 0.6401 MB / 0.6109 GB, free: 216 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7034, allocations: 1.781 kB / 0.6109 GB, free: 216 kB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001896/0.7053, allocations: 0.7881 MB / 0.6117 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.7054, allocations: 36.77 kB / 0.6117 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7054, allocations: 2.656 kB / 0.6117 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/0.7058, allocations: 115.4 kB / 0.6119 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.7064, allocations: 145.8 kB / 0.612 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006116/0.707, allocations: 0.6717 MB / 0.6126 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.7076, allocations: 48.8 kB / 0.6127 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.7077, allocations: 52.11 kB / 0.6127 GB, free: 15.03 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.0003339/0.708, allocations: 196.5 kB / 0.6129 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.7081, allocations: 52.33 kB / 0.613 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.7101, allocations: 0.7378 MB / 0.6137 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.7101, allocations: 5.25 kB / 0.6137 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7101, allocations: 0 / 0.6137 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.7101, allocations: 6.703 kB / 0.6137 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.7126, allocations: 1.277 MB / 0.615 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.7126, allocations: 4 kB / 0.615 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.7131, allocations: 107.8 kB / 0.6151 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/0.7137, allocations: 104.9 kB / 0.6152 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.7137, allocations: 15.98 kB / 0.6152 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.7156, allocations: 1.822 MB / 0.617 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7156, allocations: 4.031 kB / 0.617 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.7179, allocations: 0.9809 MB / 0.6179 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.7182, allocations: 164.5 kB / 0.6181 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.7183, allocations: 11.98 kB / 0.6181 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.7187, allocations: 43.89 kB / 0.6181 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.7189, allocations: 59.92 kB / 0.6182 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/0.719, allocations: 39.92 kB / 0.6182 GB, free: 9.754 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.7193, allocations: 275.2 kB / 0.6185 GB, free: 9.484 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7193, allocations: 0 / 0.6185 GB, free: 9.484 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009006/0.7202, allocations: 243.9 kB / 0.6187 GB, free: 9.246 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.0008571/0.7211, allocations: 305.2 kB / 0.619 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.7228, allocations: 0.6339 MB / 0.6196 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7228, allocations: 0 / 0.6196 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000884/0.7237, allocations: 419.6 kB / 0.62 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.7248, allocations: 216.5 kB / 0.6202 GB, free: 7.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.727, allocations: 1.155 MB / 0.6214 GB, free: 6.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.7275, allocations: 0.863 MB / 0.6222 GB, free: 5.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007114/0.7282, allocations: 160.6 kB / 0.6224 GB, free: 5.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.7284, allocations: 75.42 kB / 0.6224 GB, free: 5.375 MB / 446.1 MB Notification: Performance of SimCode: time 2.875e-06/0.7284, allocations: 0 / 0.6224 GB, free: 5.375 MB / 446.1 MB Notification: Performance of Templates: time 0.02405/0.7525, allocations: 13.55 MB / 0.6357 GB, free: 7.895 MB / 462.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/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