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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003024/0.003024, allocations: 207.5 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 46.93 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] 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=5014,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=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 79.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3778, allocations: 66.09 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1969/0.5747, allocations: 141.4 MB / 0.6992 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.5783, allocations: 1.579 MB / 0.7008 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/0.5788, allocations: 19.81 kB / 0.7008 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007523/0.5796, allocations: 206.6 kB / 0.701 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.5822, allocations: 0.7953 MB / 0.7018 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.5843, allocations: 0.68 MB / 0.7024 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.5863, allocations: 1.16 MB / 0.7036 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005756/0.5868, allocations: 282.2 kB / 0.7038 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.5879, allocations: 494.2 kB / 0.7043 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.5885, allocations: 382.4 kB / 0.7047 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.567e-05/0.5886, allocations: 47.94 kB / 0.7047 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.59, allocations: 495.3 kB / 0.7052 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.5902, allocations: 163.5 kB / 0.7053 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.5905, allocations: 231 kB / 0.7056 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.592, allocations: 0.9652 MB / 0.7065 GB, free: 14.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.592, allocations: 0 / 0.7065 GB, free: 14.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5921, allocations: 0 / 0.7065 GB, free: 14.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5921, allocations: 0 / 0.7065 GB, free: 14.61 MB / 0.545 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.00197/0.594, allocations: 0.8416 MB / 0.7073 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5941, allocations: 8.031 kB / 0.7073 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.5945, allocations: 79.59 kB / 0.7074 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007028/0.5952, allocations: 348.8 kB / 0.7077 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.5953, allocations: 88.34 kB / 0.7078 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.5954, allocations: 43.94 kB / 0.7079 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.5965, allocations: 0.7425 MB / 0.7086 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.5965, allocations: 0 / 0.7086 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.5966, allocations: 23.94 kB / 0.7086 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.5966, allocations: 16.66 kB / 0.7086 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/0.5976, allocations: 406.1 kB / 0.709 GB, free: 11.85 MB / 0.545 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.003133/0.6007, allocations: 1.926 MB / 0.7109 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.6015, allocations: 339.3 kB / 0.7112 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.6019, allocations: 149.3 kB / 0.7114 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.6019, allocations: 8.219 kB / 0.7114 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006681/0.6026, allocations: 418.1 kB / 0.7118 GB, free: 8.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.6026, allocations: 0 / 0.7118 GB, free: 8.891 MB / 0.545 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.01231/0.6149, allocations: 3.023 MB / 0.7147 GB, free: 5.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.615, allocations: 136.5 kB / 0.7149 GB, free: 5.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.6155, allocations: 377.5 kB / 0.7152 GB, free: 5.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.6155, allocations: 33.7 kB / 0.7152 GB, free: 5.211 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.6158, allocations: 260.4 kB / 0.7155 GB, free: 4.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.6159, allocations: 162.6 kB / 0.7156 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.6161, allocations: 126.3 kB / 0.7158 GB, free: 4.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6163, allocations: 354.8 kB / 0.7161 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/0.6169, allocations: 246.8 kB / 0.7163 GB, free: 4.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.6178, allocations: 0.5029 MB / 0.7168 GB, free: 3.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.6191, allocations: 0.6394 MB / 0.7175 GB, free: 2.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6191, allocations: 0 / 0.7175 GB, free: 2.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001968/0.6211, allocations: 0.8161 MB / 0.7183 GB, free: 1.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.6212, allocations: 37.7 kB / 0.7183 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6212, allocations: 7.938 kB / 0.7183 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.6216, allocations: 108.8 kB / 0.7184 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.6222, allocations: 135.8 kB / 0.7185 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006812/0.6228, allocations: 0.6812 MB / 0.7192 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.6233, allocations: 51.95 kB / 0.7192 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/0.6234, allocations: 43.98 kB / 0.7193 GB, free: 0.8125 MB / 0.545 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.000325/0.6237, allocations: 200.4 kB / 0.7195 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.6238, allocations: 47.72 kB / 0.7195 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.6259, allocations: 0.7406 MB / 0.7202 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.6259, allocations: 4 kB / 0.7203 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6259, allocations: 0 / 0.7203 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.6259, allocations: 3.984 kB / 0.7203 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.6286, allocations: 1.136 MB / 0.7214 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6286, allocations: 0 / 0.7214 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.6291, allocations: 112 kB / 0.7215 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005659/0.6297, allocations: 100.7 kB / 0.7216 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.6297, allocations: 19.98 kB / 0.7216 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.6317, allocations: 1.679 MB / 0.7232 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6318, allocations: 0 / 0.7232 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.6341, allocations: 0.9674 MB / 0.7242 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.6345, allocations: 83.66 kB / 0.7242 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.6345, allocations: 20 kB / 0.7243 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.635, allocations: 43.94 kB / 0.7243 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.6352, allocations: 59.84 kB / 0.7244 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.6352, allocations: 39.98 kB / 0.7244 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003218/0.6355, allocations: 255.2 kB / 0.7246 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6355, allocations: 0 / 0.7246 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007994/0.6363, allocations: 231.7 kB / 0.7249 GB, free: 10.88 MB / 0.5606 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.0006838/0.637, allocations: 290.8 kB / 0.7251 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.6387, allocations: 0.6203 MB / 0.7258 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6387, allocations: 0 / 0.7258 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.6396, allocations: 394.3 kB / 0.7261 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.6406, allocations: 207.5 kB / 0.7263 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6428, allocations: 1.156 MB / 0.7275 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.6431, allocations: 256.8 kB / 0.7277 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005239/0.6436, allocations: 152.5 kB / 0.7278 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.6439, allocations: 71.42 kB / 0.7279 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.6439, allocations: 0 / 0.7279 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.26/0.9038, allocations: 13.65 MB / 0.7412 GB, free: 172.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.253010477870703]