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.001321/0.001322, allocations: 116 kB / 19.12 MB, free: 3.93 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.001438/0.001438, allocations: 204.9 kB / 22.07 MB, free: 0.9805 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.481/1.481, allocations: 227.4 MB / 252.3 MB, free: 108 kB / 190.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.2317/0.2317, allocations: 46.17 MB / 351.8 MB, free: 14.27 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.002343/0.002343, allocations: 80.62 kB / 490.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1388, allocations: 62.45 MB / 0.5403 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.506/0.6449, allocations: 163.4 MB / 0.6999 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.6485, allocations: 1.661 MB / 0.7015 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.649, allocations: 21.94 kB / 0.7016 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.6498, allocations: 210.1 kB / 0.7018 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.6522, allocations: 0.7798 MB / 0.7025 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.6541, allocations: 0.6738 MB / 0.7032 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.6558, allocations: 1.158 MB / 0.7043 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000568/0.6564, allocations: 328.9 kB / 0.7046 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009644/0.6573, allocations: 478.2 kB / 0.7051 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.6579, allocations: 370.5 kB / 0.7054 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.658, allocations: 44 kB / 0.7055 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.6594, allocations: 0.5773 MB / 0.706 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.6596, allocations: 155.5 kB / 0.7062 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.6599, allocations: 266.8 kB / 0.7064 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.6616, allocations: 0.9733 MB / 0.7074 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6616, allocations: 4 kB / 0.7074 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6616, allocations: 0 / 0.7074 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.6616, allocations: 0 / 0.7074 GB, free: 4.723 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.002007/0.6637, allocations: 0.917 MB / 0.7083 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6637, allocations: 9.109 kB / 0.7083 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.6641, allocations: 79.61 kB / 0.7084 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.6648, allocations: 418.6 kB / 0.7088 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-05/0.6649, allocations: 54.7 kB / 0.7088 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.665, allocations: 43.89 kB / 0.7089 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.6661, allocations: 0.5244 MB / 0.7094 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.6661, allocations: 0 / 0.7094 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/0.6662, allocations: 16 kB / 0.7094 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.6662, allocations: 24.58 kB / 0.7094 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.6672, allocations: 402.2 kB / 0.7098 GB, free: 2.109 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.003521/0.6707, allocations: 2.466 MB / 0.7122 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.6716, allocations: 339.5 kB / 0.7125 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.672, allocations: 158.2 kB / 0.7127 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.672, allocations: 16.2 kB / 0.7127 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.6726, allocations: 268.7 kB / 0.713 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.6727, allocations: 3.938 kB / 0.713 GB, free: 14.67 MB / 0.5137 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.01284/0.6855, allocations: 3.251 MB / 0.7161 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.6857, allocations: 170.1 kB / 0.7163 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.6862, allocations: 385.5 kB / 0.7167 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.6863, allocations: 37.7 kB / 0.7167 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.6865, allocations: 260.5 kB / 0.717 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.6867, allocations: 174.5 kB / 0.7171 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.6869, allocations: 122.3 kB / 0.7172 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002767/0.6872, allocations: 358.8 kB / 0.7176 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.6879, allocations: 217.1 kB / 0.7178 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.6887, allocations: 401.1 kB / 0.7182 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.6903, allocations: 0.6394 MB / 0.7188 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.6904, allocations: 8 kB / 0.7188 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002122/0.6925, allocations: 0.7871 MB / 0.7196 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.6926, allocations: 41.8 kB / 0.7196 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.6926, allocations: 12.73 kB / 0.7196 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.6931, allocations: 109.3 kB / 0.7197 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/0.6936, allocations: 139.8 kB / 0.7199 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008182/0.6945, allocations: 0.67 MB / 0.7205 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.695, allocations: 51.89 kB / 0.7206 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.6951, allocations: 44 kB / 0.7206 GB, free: 6.445 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.0003171/0.6954, allocations: 193.7 kB / 0.7208 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.6955, allocations: 55.67 kB / 0.7208 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.6976, allocations: 0.7461 MB / 0.7216 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6976, allocations: 4 kB / 0.7216 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6976, allocations: 3.938 kB / 0.7216 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.6977, allocations: 7.984 kB / 0.7216 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.7005, allocations: 1.273 MB / 0.7228 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7005, allocations: 0 / 0.7228 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.701, allocations: 103.9 kB / 0.7229 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005964/0.7016, allocations: 109 kB / 0.723 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.7016, allocations: 23.92 kB / 0.7231 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.7039, allocations: 1.821 MB / 0.7248 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7039, allocations: 0 / 0.7248 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.7064, allocations: 0.9751 MB / 0.7258 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.7067, allocations: 164.8 kB / 0.7259 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.7068, allocations: 15.98 kB / 0.726 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.7073, allocations: 43.89 kB / 0.726 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.7075, allocations: 59.92 kB / 0.7261 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.7075, allocations: 35.98 kB / 0.7261 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003463/0.7079, allocations: 271.1 kB / 0.7264 GB, free: 276 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7079, allocations: 4 kB / 0.7264 GB, free: 272 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008325/0.7087, allocations: 239.7 kB / 0.7266 GB, free: 32 kB / 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.0008733/0.7096, allocations: 301.1 kB / 0.7269 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.7113, allocations: 0.6069 MB / 0.7275 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7114, allocations: 0 / 0.7275 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000981/0.7123, allocations: 414.2 kB / 0.7279 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.7135, allocations: 219.9 kB / 0.7281 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.7158, allocations: 1.197 MB / 0.7292 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.7163, allocations: 0.8553 MB / 0.7301 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.7166, allocations: 83.41 kB / 0.7302 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.7166, allocations: 0 / 0.7302 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of Templates: time 0.01977/0.7364, allocations: 11.73 MB / 0.7416 GB, free: 0.5781 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.203039770014584]