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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 186 kB / 21.49 MB, free: 0.8242 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.629/1.629, allocations: 207.6 MB / 232.1 MB, free: 3.195 MB / 174.1 MB " [Timeout remaining time 178] 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.409/0.409, allocations: 44.23 MB / 328.4 MB, free: 6.27 MB / 254.1 MB " [Timeout remaining time 179] 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=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.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.002231/0.002231, allocations: 76.41 kB / 465.5 MB, free: 45.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1497, allocations: 61 MB / 0.5142 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.6091/0.7588, allocations: 164 MB / 0.6743 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006772/0.7655, allocations: 4.155 MB / 0.6784 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007899/0.7663, allocations: 14.78 kB / 0.6784 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.7672, allocations: 218 kB / 0.6786 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.7701, allocations: 0.8524 MB / 0.6795 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.7721, allocations: 0.6676 MB / 0.6801 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.7734, allocations: 1.148 MB / 0.6812 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.7739, allocations: 283.6 kB / 0.6815 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008284/0.7747, allocations: 475.1 kB / 0.682 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.7752, allocations: 405.4 kB / 0.6823 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-05/0.7752, allocations: 43.12 kB / 0.6824 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.7765, allocations: 0.6118 MB / 0.683 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.7767, allocations: 155.7 kB / 0.6831 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.777, allocations: 275.6 kB / 0.6834 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.7784, allocations: 0.9804 MB / 0.6843 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7784, allocations: 2.625 kB / 0.6844 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7784, allocations: 0 / 0.6844 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.7784, allocations: 0 / 0.6844 GB, free: 13.8 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.001828/0.7803, allocations: 0.913 MB / 0.6852 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.7803, allocations: 14.05 kB / 0.6853 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.7807, allocations: 75.83 kB / 0.6853 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.7813, allocations: 417.2 kB / 0.6857 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.7814, allocations: 58.11 kB / 0.6858 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.7815, allocations: 48.39 kB / 0.6858 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009737/0.7824, allocations: 0.5217 MB / 0.6863 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.7825, allocations: 2.562 kB / 0.6863 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.7825, allocations: 15.19 kB / 0.6864 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.7826, allocations: 19.66 kB / 0.6864 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008314/0.7834, allocations: 404.1 kB / 0.6868 GB, free: 12.71 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.003389/0.7868, allocations: 2.487 MB / 0.6892 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.7875, allocations: 337.8 kB / 0.6895 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.7879, allocations: 151.2 kB / 0.6897 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.7879, allocations: 2.844 kB / 0.6897 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005485/0.7885, allocations: 277.7 kB / 0.6899 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.7885, allocations: 2.094 kB / 0.6899 GB, free: 10.77 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.01146/0.7999, allocations: 3.243 MB / 0.6931 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.8001, allocations: 162.7 kB / 0.6932 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.8005, allocations: 392.5 kB / 0.6936 GB, free: 9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.8005, allocations: 35.08 kB / 0.6937 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.8007, allocations: 260.2 kB / 0.6939 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.8009, allocations: 169.5 kB / 0.6941 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.8011, allocations: 120.1 kB / 0.6942 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8013, allocations: 358.5 kB / 0.6945 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.8018, allocations: 220.6 kB / 0.6947 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/0.8025, allocations: 411.3 kB / 0.6951 GB, free: 8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.8038, allocations: 0.6348 MB / 0.6957 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.8038, allocations: 3.125 kB / 0.6957 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001781/0.8056, allocations: 0.7889 MB / 0.6965 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.8056, allocations: 33.61 kB / 0.6965 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.8056, allocations: 4.938 kB / 0.6966 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004428/0.8061, allocations: 116.1 kB / 0.6967 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.8066, allocations: 139.7 kB / 0.6968 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006703/0.8073, allocations: 0.6745 MB / 0.6975 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.8077, allocations: 51.69 kB / 0.6975 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.8078, allocations: 46.16 kB / 0.6975 GB, free: 6.77 MB / 0.4981 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.0003012/0.8081, allocations: 198.6 kB / 0.6977 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.644e-05/0.8082, allocations: 46.16 kB / 0.6978 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.81, allocations: 0.741 MB / 0.6985 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.81, allocations: 8.734 kB / 0.6985 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8101, allocations: 0 / 0.6985 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8101, allocations: 0 / 0.6985 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.8125, allocations: 1.272 MB / 0.6998 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.8125, allocations: 2.406 kB / 0.6998 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.813, allocations: 107.8 kB / 0.6999 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005185/0.8135, allocations: 107.3 kB / 0.7 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.8135, allocations: 17.34 kB / 0.7 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.8154, allocations: 1.82 MB / 0.7018 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8154, allocations: 2.469 kB / 0.7018 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.8174, allocations: 0.9793 MB / 0.7027 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.8177, allocations: 169 kB / 0.7029 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.8177, allocations: 12.12 kB / 0.7029 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.8182, allocations: 41.39 kB / 0.7029 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.8183, allocations: 73.89 kB / 0.703 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.8184, allocations: 35.14 kB / 0.703 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002855/0.8187, allocations: 271.6 kB / 0.7033 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.8187, allocations: 0 / 0.7033 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000829/0.8195, allocations: 240.5 kB / 0.7035 GB, free: 3.488 MB / 0.4981 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.0008156/0.8203, allocations: 331.4 kB / 0.7038 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.8217, allocations: 0.5864 MB / 0.7044 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8217, allocations: 0 / 0.7044 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008045/0.8225, allocations: 397.7 kB / 0.7048 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009827/0.8235, allocations: 221.3 kB / 0.705 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.8255, allocations: 1.162 MB / 0.7061 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.826, allocations: 0.8631 MB / 0.707 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004917/0.8264, allocations: 158.9 kB / 0.7071 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.8267, allocations: 74.33 kB / 0.7072 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.8267, allocations: 0 / 0.7072 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of Templates: time 0.02314/0.8498, allocations: 13.91 MB / 0.7208 GB, free: 4.789 MB / 0.5138 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.610299583524466]