Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008211/0.0008211, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003693/0.003693, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8597/0.8597, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 34.24 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.233e-05, allocations: 6.219 kB / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2859/0.2859, allocations: 141.4 MB / 0.5711 GB, free: 2.922 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2879, allocations: 1.582 MB / 0.5726 GB, free: 1.34 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.2881, allocations: 23.75 kB / 0.5727 GB, free: 1.316 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.2886, allocations: 210.5 kB / 0.5729 GB, free: 1.109 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.29, allocations: 0.8221 MB / 0.5737 GB, free: 292 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.2908, allocations: 0.6859 MB / 0.5743 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.2919, allocations: 1.177 MB / 0.5755 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.2922, allocations: 270.2 kB / 0.5757 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.2928, allocations: 0.6154 MB / 0.5763 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.2931, allocations: 354.9 kB / 0.5767 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.2931, allocations: 44 kB / 0.5767 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.2936, allocations: 499.1 kB / 0.5772 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2938, allocations: 171.4 kB / 0.5774 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.2939, allocations: 191.6 kB / 0.5775 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008174/0.2947, allocations: 1.032 MB / 0.5786 GB, free: 11.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2947, allocations: 4 kB / 0.5786 GB, free: 11.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2947, allocations: 0 / 0.5786 GB, free: 11.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2947, allocations: 0 / 0.5786 GB, free: 11.27 MB / 490.7 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.001051/0.2958, allocations: 0.8402 MB / 0.5794 GB, free: 10.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2958, allocations: 8.031 kB / 0.5794 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.296, allocations: 75.64 kB / 0.5795 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.2964, allocations: 349.3 kB / 0.5798 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.2965, allocations: 84.41 kB / 0.5799 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.2965, allocations: 43.94 kB / 0.5799 GB, free: 9.809 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.2972, allocations: 0.7541 MB / 0.5807 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2972, allocations: 0 / 0.5807 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.2972, allocations: 16 kB / 0.5807 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.2972, allocations: 16.66 kB / 0.5807 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.2977, allocations: 406.2 kB / 0.5811 GB, free: 8.527 MB / 490.7 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.001839/0.2996, allocations: 1.93 MB / 0.583 GB, free: 6.527 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.3, allocations: 333.7 kB / 0.5833 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.3002, allocations: 151.3 kB / 0.5834 GB, free: 6.051 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3002, allocations: 8.281 kB / 0.5834 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.3006, allocations: 414.1 kB / 0.5838 GB, free: 5.582 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.192e-06/0.3006, allocations: 0 / 0.5838 GB, free: 5.582 MB / 490.7 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.005672/0.3062, allocations: 3.018 MB / 0.5868 GB, free: 2.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3063, allocations: 136.5 kB / 0.5869 GB, free: 2.336 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3065, allocations: 369.5 kB / 0.5872 GB, free: 1.965 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3066, allocations: 41.7 kB / 0.5873 GB, free: 1.918 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3067, allocations: 260.4 kB / 0.5875 GB, free: 1.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.3068, allocations: 170.6 kB / 0.5877 GB, free: 1.492 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.3069, allocations: 126.3 kB / 0.5878 GB, free: 1.363 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.307, allocations: 354.7 kB / 0.5882 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.3073, allocations: 246.8 kB / 0.5884 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/0.3079, allocations: 0.504 MB / 0.5889 GB, free: 160 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.3086, allocations: 0.6288 MB / 0.5895 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3086, allocations: 4 kB / 0.5895 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009778/0.3096, allocations: 0.8209 MB / 0.5903 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3097, allocations: 37.92 kB / 0.5903 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3097, allocations: 8 kB / 0.5903 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.3099, allocations: 117.4 kB / 0.5905 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.3102, allocations: 135.8 kB / 0.5906 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003618/0.3105, allocations: 0.6695 MB / 0.5912 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3107, allocations: 51.89 kB / 0.5913 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.3108, allocations: 47.98 kB / 0.5913 GB, free: 13.52 MB / 0.4948 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.0001584/0.3109, allocations: 197.7 kB / 0.5915 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.311, allocations: 51.67 kB / 0.5916 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.312, allocations: 0.7304 MB / 0.5923 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.312, allocations: 8 kB / 0.5923 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.312, allocations: 0 / 0.5923 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.312, allocations: 7.984 kB / 0.5923 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.3133, allocations: 1.132 MB / 0.5934 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3133, allocations: 0 / 0.5934 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.3135, allocations: 113.3 kB / 0.5935 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.3138, allocations: 101.8 kB / 0.5936 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3138, allocations: 19.98 kB / 0.5936 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3149, allocations: 1.676 MB / 0.5953 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3149, allocations: 8.094 kB / 0.5953 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3162, allocations: 0.9731 MB / 0.5962 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3164, allocations: 83.72 kB / 0.5963 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.3164, allocations: 8 kB / 0.5963 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3166, allocations: 52.38 kB / 0.5964 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.3167, allocations: 59.91 kB / 0.5964 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.3167, allocations: 35.98 kB / 0.5965 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001575/0.3169, allocations: 255.2 kB / 0.5967 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.3169, allocations: 0 / 0.5967 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004358/0.3173, allocations: 235.7 kB / 0.5969 GB, free: 7.594 MB / 0.4948 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.0004455/0.3178, allocations: 309.1 kB / 0.5972 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007987/0.3186, allocations: 0.6095 MB / 0.5978 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3186, allocations: 3.938 kB / 0.5978 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.319, allocations: 398.6 kB / 0.5982 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.3195, allocations: 203.2 kB / 0.5984 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3207, allocations: 1.077 MB / 0.5994 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3208, allocations: 244.9 kB / 0.5997 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.321, allocations: 84.47 kB / 0.5998 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of SimCode: time 4.2e-07/0.321, allocations: 4 kB / 0.5998 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of Templates: time 0.009109/0.3301, allocations: 11.83 MB / 0.6113 GB, free: 8.812 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 5.913845648989081]