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.001582/0.001582, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001482/0.001482, allocations: 216.8 kB / 23 MB, free: 5.574 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.461/1.461, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.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.2481/0.2481, allocations: 46.92 MB / 359.4 MB, free: 4.828 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002351/0.002351, allocations: 79.88 kB / 0.4946 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4143, allocations: 65.99 MB / 0.5591 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2122/0.6265, allocations: 164 MB / 0.7193 GB, free: 376 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003649/0.6301, allocations: 1.681 MB / 0.7209 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.6306, allocations: 15.88 kB / 0.7209 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007116/0.6313, allocations: 218.6 kB / 0.7211 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.6335, allocations: 0.7833 MB / 0.7219 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.6353, allocations: 0.6821 MB / 0.7225 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.6368, allocations: 1.15 MB / 0.7237 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.6372, allocations: 294 kB / 0.724 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/0.6381, allocations: 478.2 kB / 0.7244 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.6386, allocations: 410.3 kB / 0.7248 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.605e-05/0.6387, allocations: 48 kB / 0.7248 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.6399, allocations: 0.5847 MB / 0.7254 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.6401, allocations: 155.5 kB / 0.7256 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.6404, allocations: 278.7 kB / 0.7258 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.6417, allocations: 0.9652 MB / 0.7268 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6417, allocations: 4 kB / 0.7268 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6417, allocations: 0 / 0.7268 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.6417, allocations: 0 / 0.7268 GB, free: 8.645 MB / 0.5606 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.001847/0.6436, allocations: 0.9235 MB / 0.7277 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.6436, allocations: 8.031 kB / 0.7277 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.644, allocations: 79.59 kB / 0.7278 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.6447, allocations: 406.7 kB / 0.7282 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.6448, allocations: 70.61 kB / 0.7282 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.879e-05/0.6449, allocations: 39.95 kB / 0.7283 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.6459, allocations: 0.5283 MB / 0.7288 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.6459, allocations: 4 kB / 0.7288 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.743e-05/0.6459, allocations: 20 kB / 0.7288 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.646, allocations: 12.66 kB / 0.7288 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009244/0.6469, allocations: 406.1 kB / 0.7292 GB, free: 6.027 MB / 0.5606 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.003407/0.6503, allocations: 2.462 MB / 0.7316 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008337/0.6511, allocations: 341.7 kB / 0.7319 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.6515, allocations: 145.3 kB / 0.7321 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.6516, allocations: 8.266 kB / 0.7321 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.6522, allocations: 272.8 kB / 0.7323 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.6522, allocations: 3.938 kB / 0.7323 GB, free: 2.605 MB / 0.5606 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.3485/1.001, allocations: 3.237 MB / 0.7355 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.001, allocations: 166.8 kB / 0.7357 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008708/1.002, allocations: 383.2 kB / 0.736 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/1.002, allocations: 37.45 kB / 0.7361 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/1.002, allocations: 260.8 kB / 0.7363 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/1.002, allocations: 166.8 kB / 0.7365 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/1.002, allocations: 126.7 kB / 0.7366 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.003, allocations: 359.4 kB / 0.7369 GB, free: 176 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/1.003, allocations: 223.8 kB / 0.7371 GB, free: 176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/1.004, allocations: 409.7 kB / 0.7375 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.005, allocations: 0.6435 MB / 0.7382 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.005, allocations: 3 kB / 0.7382 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001877/1.007, allocations: 0.7889 MB / 0.7389 GB, free: 175 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/1.007, allocations: 39.42 kB / 0.739 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.007, allocations: 3.938 kB / 0.739 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/1.008, allocations: 119.7 kB / 0.7391 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/1.008, allocations: 138.4 kB / 0.7392 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004802/1.009, allocations: 0.6706 MB / 0.7399 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/1.009, allocations: 49.09 kB / 0.7399 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/1.009, allocations: 49.25 kB / 0.74 GB, free: 174.4 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.0002954/1.01, allocations: 200.2 kB / 0.7402 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/1.01, allocations: 55.38 kB / 0.7402 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/1.012, allocations: 0.727 MB / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.012, allocations: 6.969 kB / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.012, allocations: 0 / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/1.012, allocations: 7.172 kB / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/1.014, allocations: 1.279 MB / 0.7422 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.014, allocations: 3.562 kB / 0.7422 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/1.014, allocations: 107.2 kB / 0.7423 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005363/1.015, allocations: 105.3 kB / 0.7424 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/1.015, allocations: 15.17 kB / 0.7424 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/1.016, allocations: 1.826 MB / 0.7442 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.016, allocations: 3.938 kB / 0.7442 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.018, allocations: 0.979 MB / 0.7451 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/1.018, allocations: 164.8 kB / 0.7453 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/1.018, allocations: 8 kB / 0.7453 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/1.019, allocations: 43.94 kB / 0.7454 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/1.019, allocations: 59.88 kB / 0.7454 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/1.019, allocations: 35.98 kB / 0.7454 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002704/1.019, allocations: 279.1 kB / 0.7457 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.019, allocations: 0 / 0.7457 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008165/1.02, allocations: 235.6 kB / 0.7459 GB, free: 169.4 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.0007669/1.021, allocations: 299.7 kB / 0.7462 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001381/1.022, allocations: 0.5835 MB / 0.7468 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.022, allocations: 1.094 kB / 0.7468 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007125/1.023, allocations: 411.2 kB / 0.7472 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/1.024, allocations: 208.8 kB / 0.7474 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.026, allocations: 1.165 MB / 0.7485 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.026, allocations: 0.8626 MB / 0.7494 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000482/1.027, allocations: 152.6 kB / 0.7495 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/1.027, allocations: 71.41 kB / 0.7496 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/1.027, allocations: 4 kB / 0.7496 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01848/1.045, allocations: 13.64 MB / 0.7629 GB, free: 152 MB / 0.5606 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.0.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: 6.407060908153653]