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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 109 kB / 20.45 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 214.8 kB / 23.75 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.23 MB / 331 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003114/0.003114, allocations: 71.89 kB / 468.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1139, allocations: 61.04 MB / 0.5174 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.365/0.4789, allocations: 164 MB / 0.6775 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00619/0.4851, allocations: 4.162 MB / 0.6816 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.4856, allocations: 15.88 kB / 0.6816 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.4863, allocations: 210.6 kB / 0.6818 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.4894, allocations: 0.8634 MB / 0.6826 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.4916, allocations: 0.6858 MB / 0.6833 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.4933, allocations: 1.162 MB / 0.6844 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.4939, allocations: 281.9 kB / 0.6847 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.4949, allocations: 485.9 kB / 0.6852 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.4956, allocations: 398.4 kB / 0.6856 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.4958, allocations: 48 kB / 0.6856 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.4971, allocations: 0.6201 MB / 0.6862 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.4973, allocations: 155.5 kB / 0.6864 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.4977, allocations: 278.7 kB / 0.6866 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.4992, allocations: 0.9843 MB / 0.6876 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4992, allocations: 0 / 0.6876 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4992, allocations: 0 / 0.6876 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.179e-05/0.4992, allocations: 4 kB / 0.6876 GB, free: 5.094 MB / 0.5137 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.001821/0.5011, allocations: 0.8339 MB / 0.6884 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.5011, allocations: 12.03 kB / 0.6884 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.5015, allocations: 71.66 kB / 0.6885 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.5021, allocations: 352.8 kB / 0.6888 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-05/0.5022, allocations: 88.39 kB / 0.6889 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.5023, allocations: 39.98 kB / 0.6889 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/0.5033, allocations: 0.5166 MB / 0.6894 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.5033, allocations: 7.984 kB / 0.6895 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.5033, allocations: 16 kB / 0.6895 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.5034, allocations: 19.09 kB / 0.6895 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.5043, allocations: 406.1 kB / 0.6899 GB, free: 2.637 MB / 0.5137 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.003293/0.5076, allocations: 2.442 MB / 0.6923 GB, free: 24 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/0.5084, allocations: 343.2 kB / 0.6926 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.5088, allocations: 150.8 kB / 0.6927 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.5088, allocations: 4.281 kB / 0.6927 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005524/0.5094, allocations: 280.1 kB / 0.693 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.5094, allocations: 0 / 0.693 GB, free: 15.23 MB / 0.5294 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.01131/0.5207, allocations: 3.014 MB / 0.6959 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.5208, allocations: 166.2 kB / 0.6961 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.5212, allocations: 385.5 kB / 0.6965 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.5212, allocations: 33.7 kB / 0.6965 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.5215, allocations: 268.4 kB / 0.6968 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.5216, allocations: 162.6 kB / 0.6969 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.5218, allocations: 126.3 kB / 0.697 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.522, allocations: 358.8 kB / 0.6974 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.5226, allocations: 221.1 kB / 0.6976 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.5233, allocations: 405.1 kB / 0.698 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.5246, allocations: 0.6316 MB / 0.6986 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5246, allocations: 4 kB / 0.6986 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001864/0.5264, allocations: 0.7944 MB / 0.6994 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.5265, allocations: 34.8 kB / 0.6994 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5265, allocations: 8.641 kB / 0.6994 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/0.5269, allocations: 120.8 kB / 0.6995 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.5275, allocations: 139.7 kB / 0.6997 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006309/0.5281, allocations: 0.6743 MB / 0.7003 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.5286, allocations: 52.02 kB / 0.7004 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.5286, allocations: 40 kB / 0.7004 GB, free: 7.309 MB / 0.5294 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.0002617/0.5289, allocations: 201.6 kB / 0.7006 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.529, allocations: 47.72 kB / 0.7006 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.5309, allocations: 0.7446 MB / 0.7014 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5309, allocations: 4 kB / 0.7014 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5309, allocations: 0 / 0.7014 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5309, allocations: 0 / 0.7014 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.5334, allocations: 1.237 MB / 0.7026 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5334, allocations: 0 / 0.7026 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.5339, allocations: 111.8 kB / 0.7027 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/0.5344, allocations: 104.9 kB / 0.7028 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.5345, allocations: 21.3 kB / 0.7028 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.5364, allocations: 1.709 MB / 0.7045 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5364, allocations: 2.188 kB / 0.7045 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.5387, allocations: 0.9789 MB / 0.7054 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.5389, allocations: 91.61 kB / 0.7055 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/0.539, allocations: 12 kB / 0.7055 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.5394, allocations: 51.88 kB / 0.7056 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.5396, allocations: 59.91 kB / 0.7056 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.5396, allocations: 35.98 kB / 0.7057 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003027/0.5399, allocations: 279.1 kB / 0.7059 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5399, allocations: 0 / 0.7059 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007429/0.5407, allocations: 235.7 kB / 0.7062 GB, free: 1.168 MB / 0.5294 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.0008209/0.5415, allocations: 324.9 kB / 0.7065 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.543, allocations: 0.5882 MB / 0.7071 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.543, allocations: 4 kB / 0.7071 GB, free: 248 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.5438, allocations: 395.5 kB / 0.7074 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.5448, allocations: 228.9 kB / 0.7077 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.5469, allocations: 1.201 MB / 0.7088 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.5474, allocations: 0.8592 MB / 0.7097 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.5476, allocations: 83.41 kB / 0.7097 GB, free: 13.41 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.5476, allocations: 0 / 0.7097 GB, free: 13.41 MB / 0.545 GB Notification: Performance of Templates: time 0.01785/0.5655, allocations: 11.83 MB / 0.7213 GB, free: 1.586 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.878767085960135]