Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00166/0.00166, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001946/0.001946, allocations: 186.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 44.92 MB / 353.5 MB, free: 11.84 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 497.7 MB, free: 1.023 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.464, allocations: 64.3 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2127/0.6767, allocations: 161.1 MB / 0.7062 GB, free: 13.71 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.003733/0.6804, allocations: 1.684 MB / 0.7078 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005317/0.6809, allocations: 23.81 kB / 0.7078 GB, free: 12 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.6817, allocations: 206.6 kB / 0.708 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.002679/0.6843, allocations: 0.7952 MB / 0.7088 GB, free: 11.01 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.6864, allocations: 0.6931 MB / 0.7095 GB, free: 10.32 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.00164/0.688, allocations: 1.17 MB / 0.7106 GB, free: 9.148 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.6885, allocations: 278.2 kB / 0.7109 GB, free: 8.871 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000894/0.6894, allocations: 490.3 kB / 0.7113 GB, free: 8.391 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005499/0.69, allocations: 398.5 kB / 0.7117 GB, free: 8 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 9.035e-05/0.6901, allocations: 44 kB / 0.7118 GB, free: 7.957 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.6915, allocations: 0.5929 MB / 0.7124 GB, free: 7.363 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.6917, allocations: 159.5 kB / 0.7125 GB, free: 7.207 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.6921, allocations: 266.8 kB / 0.7128 GB, free: 6.945 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.00195/0.694, allocations: 0.9733 MB / 0.7137 GB, free: 5.969 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.694, allocations: 0 / 0.7137 GB, free: 5.969 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.894e-06/0.694, allocations: 0 / 0.7137 GB, free: 5.969 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 9.488e-06/0.694, allocations: 7.938 kB / 0.7137 GB, free: 5.961 MB / 0.545 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.001939/0.696, allocations: 0.8339 MB / 0.7145 GB, free: 5.09 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.696, allocations: 16.92 kB / 0.7145 GB, free: 5.074 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.6964, allocations: 71.59 kB / 0.7146 GB, free: 5.004 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.6971, allocations: 352.8 kB / 0.715 GB, free: 4.629 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.6972, allocations: 58.64 kB / 0.715 GB, free: 4.566 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.6973, allocations: 39.94 kB / 0.715 GB, free: 4.527 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.6983, allocations: 0.5205 MB / 0.7156 GB, free: 3.969 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.6983, allocations: 3.938 kB / 0.7156 GB, free: 3.965 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.6984, allocations: 16 kB / 0.7156 GB, free: 3.949 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.6984, allocations: 16.66 kB / 0.7156 GB, free: 3.934 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.6994, allocations: 406.2 kB / 0.716 GB, free: 3.535 MB / 0.545 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.00357/0.703, allocations: 2.456 MB / 0.7184 GB, free: 0.9062 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.7039, allocations: 330.9 kB / 0.7187 GB, free: 0.5781 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.7043, allocations: 157.2 kB / 0.7188 GB, free: 432 kB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.7043, allocations: 4.281 kB / 0.7188 GB, free: 428 kB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006316/0.705, allocations: 268.8 kB / 0.7191 GB, free: 136 kB / 0.545 GB
Notification: Performance of pre-optimization done (n=34): time 2.675e-06/0.705, allocations: 0 / 0.7191 GB, free: 136 kB / 0.545 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.01281/0.7178, allocations: 3.022 MB / 0.7221 GB, free: 13.04 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.7179, allocations: 162.2 kB / 0.7222 GB, free: 12.84 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.7184, allocations: 385.6 kB / 0.7226 GB, free: 12.46 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.7184, allocations: 37.7 kB / 0.7226 GB, free: 12.41 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.7186, allocations: 268.4 kB / 0.7229 GB, free: 12.15 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.7188, allocations: 170.5 kB / 0.723 GB, free: 11.98 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.719, allocations: 126.3 kB / 0.7231 GB, free: 11.85 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001694/0.7192, allocations: 358.8 kB / 0.7235 GB, free: 11.49 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.7198, allocations: 217.1 kB / 0.7237 GB, free: 11.28 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008152/0.7206, allocations: 417 kB / 0.7241 GB, free: 10.79 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.722, allocations: 0.6317 MB / 0.7247 GB, free: 10.09 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.722, allocations: 0 / 0.7247 GB, free: 10.09 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.001969/0.724, allocations: 0.7944 MB / 0.7255 GB, free: 9.273 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 5.697e-05/0.724, allocations: 33.7 kB / 0.7255 GB, free: 9.234 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.724, allocations: 8.656 kB / 0.7255 GB, free: 9.227 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.7245, allocations: 116.8 kB / 0.7256 GB, free: 9.109 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.7251, allocations: 131.8 kB / 0.7258 GB, free: 8.98 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006438/0.7257, allocations: 0.6811 MB / 0.7264 GB, free: 8.27 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.7262, allocations: 48.02 kB / 0.7265 GB, free: 8.223 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/0.7263, allocations: 47.98 kB / 0.7265 GB, free: 8.176 MB / 0.5606 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.0003333/0.7266, allocations: 197.6 kB / 0.7267 GB, free: 7.973 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.7267, allocations: 47.72 kB / 0.7268 GB, free: 7.926 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.7287, allocations: 0.7445 MB / 0.7275 GB, free: 7.172 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.7287, allocations: 4 kB / 0.7275 GB, free: 7.168 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7287, allocations: 0 / 0.7275 GB, free: 7.168 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7287, allocations: 7.922 kB / 0.7275 GB, free: 7.16 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.7314, allocations: 1.242 MB / 0.7287 GB, free: 5.852 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.7314, allocations: 4 kB / 0.7287 GB, free: 5.848 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.7319, allocations: 103.9 kB / 0.7288 GB, free: 5.746 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005872/0.7324, allocations: 116.8 kB / 0.7289 GB, free: 5.629 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.7325, allocations: 12 kB / 0.7289 GB, free: 5.617 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.7344, allocations: 1.709 MB / 0.7306 GB, free: 3.793 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7344, allocations: 4.031 kB / 0.7306 GB, free: 3.789 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.7368, allocations: 0.9866 MB / 0.7316 GB, free: 2.766 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.7371, allocations: 87.66 kB / 0.7317 GB, free: 2.68 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.7372, allocations: 12 kB / 0.7317 GB, free: 2.668 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.7376, allocations: 43.95 kB / 0.7317 GB, free: 2.625 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.7378, allocations: 63.89 kB / 0.7318 GB, free: 2.562 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.7379, allocations: 35.98 kB / 0.7318 GB, free: 2.527 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0003426/0.7382, allocations: 275.1 kB / 0.7321 GB, free: 2.258 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/0.7382, allocations: 0 / 0.7321 GB, free: 2.258 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0008743/0.7391, allocations: 239.7 kB / 0.7323 GB, free: 2.023 MB / 0.5606 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.0008809/0.74, allocations: 308.3 kB / 0.7326 GB, free: 1.723 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.00166/0.7416, allocations: 0.5791 MB / 0.7332 GB, free: 1.129 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7416, allocations: 4 kB / 0.7332 GB, free: 1.125 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009369/0.7426, allocations: 407 kB / 0.7335 GB, free: 0.7148 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.7436, allocations: 210.4 kB / 0.7337 GB, free: 0.5156 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.263/1.007, allocations: 1.163 MB / 0.7349 GB, free: 183.2 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/1.007, allocations: 0.8559 MB / 0.7357 GB, free: 182.5 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0007238/1.008, allocations: 151.6 kB / 0.7359 GB, free: 182.5 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/1.008, allocations: 75.81 kB / 0.7359 GB, free: 182.5 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.162e-06/1.008, allocations: 0 / 0.7359 GB, free: 182.5 MB / 0.5606 GB
Notification: Performance of Templates: time 0.02052/1.029, allocations: 13.79 MB / 0.7494 GB, free: 174.2 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.590580051764846]