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.001254/0.001254, allocations: 82.3 kB / 20.68 MB, free: 1.039 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.001428/0.001428, allocations: 157.2 kB / 23.95 MB, free: 4.168 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.485/1.485, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 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.2202/0.2202, allocations: 34.26 MB / 294.8 MB, free: 14.55 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 1.733e-06/1.733e-06, allocations: 0 / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.729e-05, allocations: 6.219 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4029/0.4029, allocations: 141.4 MB / 0.5703 GB, free: 8.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003467/0.4064, allocations: 1.579 MB / 0.5719 GB, free: 6.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.4068, allocations: 19.81 kB / 0.5719 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.4075, allocations: 210.6 kB / 0.5721 GB, free: 6.512 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.4097, allocations: 0.8274 MB / 0.5729 GB, free: 5.684 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.4114, allocations: 0.6884 MB / 0.5736 GB, free: 5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.4129, allocations: 1.171 MB / 0.5747 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.4133, allocations: 278.2 kB / 0.575 GB, free: 3.547 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.4144, allocations: 0.6193 MB / 0.5756 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005429/0.4149, allocations: 351 kB / 0.5759 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.415, allocations: 44 kB / 0.576 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.416, allocations: 0.4913 MB / 0.5764 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.4163, allocations: 163.4 kB / 0.5766 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.4165, allocations: 195.6 kB / 0.5768 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.418, allocations: 1.024 MB / 0.5778 GB, free: 0.668 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.418, allocations: 0 / 0.5778 GB, free: 0.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.418, allocations: 4 kB / 0.5778 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.418, allocations: 0 / 0.5778 GB, free: 0.6641 MB / 478.1 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.001801/0.4198, allocations: 0.8301 MB / 0.5786 GB, free: 15.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.4199, allocations: 12.03 kB / 0.5786 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.4203, allocations: 75.66 kB / 0.5787 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.4209, allocations: 353.2 kB / 0.579 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.421, allocations: 84.39 kB / 0.5791 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.4211, allocations: 44 kB / 0.5791 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.4222, allocations: 0.7434 MB / 0.5799 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4223, allocations: 7.938 kB / 0.5799 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.4223, allocations: 16 kB / 0.5799 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.4223, allocations: 16.66 kB / 0.5799 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.4234, allocations: 402.1 kB / 0.5803 GB, free: 13.93 MB / 494.1 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.003321/0.4267, allocations: 1.945 MB / 0.5822 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/0.4276, allocations: 325.4 kB / 0.5825 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.428, allocations: 157.3 kB / 0.5827 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.428, allocations: 12.27 kB / 0.5827 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007135/0.4288, allocations: 424 kB / 0.5831 GB, free: 10.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.754e-06/0.4288, allocations: 0 / 0.5831 GB, free: 10.95 MB / 494.1 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.0132/0.442, allocations: 3.007 MB / 0.586 GB, free: 7.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.4421, allocations: 136.5 kB / 0.5861 GB, free: 7.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.4425, allocations: 377.4 kB / 0.5865 GB, free: 7.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.4426, allocations: 41.7 kB / 0.5865 GB, free: 7.289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.4428, allocations: 260.4 kB / 0.5868 GB, free: 7.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.443, allocations: 162.6 kB / 0.5869 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.4432, allocations: 126.3 kB / 0.5871 GB, free: 6.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4434, allocations: 354.7 kB / 0.5874 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.4441, allocations: 246.8 kB / 0.5876 GB, free: 6.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009292/0.445, allocations: 0.4952 MB / 0.5881 GB, free: 5.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.4465, allocations: 0.6365 MB / 0.5887 GB, free: 4.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4465, allocations: 4 kB / 0.5887 GB, free: 4.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002157/0.4487, allocations: 0.821 MB / 0.5895 GB, free: 3.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.4487, allocations: 37.64 kB / 0.5896 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4488, allocations: 4 kB / 0.5896 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.4492, allocations: 125.4 kB / 0.5897 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.4498, allocations: 135.8 kB / 0.5898 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006979/0.4505, allocations: 0.6734 MB / 0.5905 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.4511, allocations: 43.95 kB / 0.5905 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.4512, allocations: 47.98 kB / 0.5906 GB, free: 2.891 MB / 494.1 MB 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.0003321/0.4515, allocations: 201.6 kB / 0.5908 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.4516, allocations: 51.67 kB / 0.5908 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.4538, allocations: 0.7253 MB / 0.5915 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4538, allocations: 4 kB / 0.5915 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4538, allocations: 4 kB / 0.5915 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4538, allocations: 11.92 kB / 0.5915 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.4565, allocations: 1.128 MB / 0.5926 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4565, allocations: 3.562 kB / 0.5926 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.457, allocations: 103.9 kB / 0.5927 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006162/0.4576, allocations: 104.9 kB / 0.5928 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.4577, allocations: 23.98 kB / 0.5929 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.4597, allocations: 1.683 MB / 0.5945 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4597, allocations: 8.094 kB / 0.5945 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.4623, allocations: 0.9576 MB / 0.5955 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.4626, allocations: 87.7 kB / 0.5955 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.59e-05/0.4627, allocations: 12 kB / 0.5956 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.4632, allocations: 43.95 kB / 0.5956 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.4633, allocations: 67.77 kB / 0.5957 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.307e-05/0.4634, allocations: 35.98 kB / 0.5957 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000329/0.4637, allocations: 259.2 kB / 0.5959 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4637, allocations: 0 / 0.5959 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008814/0.4646, allocations: 235.7 kB / 0.5962 GB, free: 12.95 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.0008119/0.4654, allocations: 294.6 kB / 0.5964 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.4672, allocations: 0.6211 MB / 0.5971 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4672, allocations: 4 kB / 0.5971 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009896/0.4682, allocations: 394.6 kB / 0.5974 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4693, allocations: 210.5 kB / 0.5976 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.4716, allocations: 1.036 MB / 0.5986 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4719, allocations: 252.8 kB / 0.5989 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005689/0.4724, allocations: 156.5 kB / 0.599 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.4727, allocations: 72.48 kB / 0.5991 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of SimCode: time 5.92e-07/0.4727, allocations: 0 / 0.5991 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.02393/0.4966, allocations: 12.97 MB / 0.6118 GB, free: 13.02 MB / 0.5137 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: 5.728801287710667]