Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001819/0.001819, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001996/0.001996, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.543/1.543, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2451/0.2451, allocations: 46.88 MB / 358.1 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 77.5 kB / 0.4924 GB, free: 26.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1148, allocations: 65.98 MB / 0.5568 GB, free: 8.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5425/0.6573, allocations: 163.9 MB / 0.7169 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005112/0.6625, allocations: 1.668 MB / 0.7185 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/0.6631, allocations: 15.88 kB / 0.7185 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.6641, allocations: 210.6 kB / 0.7187 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.6678, allocations: 0.8027 MB / 0.7195 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.6705, allocations: 0.6735 MB / 0.7201 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002293/0.6728, allocations: 1.158 MB / 0.7213 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000667/0.6734, allocations: 290.5 kB / 0.7216 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.6747, allocations: 486.2 kB / 0.722 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008192/0.6755, allocations: 398.4 kB / 0.7224 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.6756, allocations: 44 kB / 0.7224 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.6776, allocations: 0.5875 MB / 0.723 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.6778, allocations: 163.5 kB / 0.7232 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.6783, allocations: 270.7 kB / 0.7234 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.6802, allocations: 0.9732 MB / 0.7244 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.6802, allocations: 0 / 0.7244 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6802, allocations: 0 / 0.7244 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.6802, allocations: 0 / 0.7244 GB, free: 2.391 MB / 0.5137 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.001893/0.6821, allocations: 0.9208 MB / 0.7253 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6821, allocations: 9.109 kB / 0.7253 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.6825, allocations: 79.61 kB / 0.7254 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.6832, allocations: 410.7 kB / 0.7258 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.6832, allocations: 58.64 kB / 0.7258 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.6833, allocations: 47.89 kB / 0.7259 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.6844, allocations: 0.5244 MB / 0.7264 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.6844, allocations: 0 / 0.7264 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.6845, allocations: 20 kB / 0.7264 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.6845, allocations: 16.66 kB / 0.7264 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.6856, allocations: 406.2 kB / 0.7268 GB, free: 15.77 MB / 0.5294 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.003589/0.6892, allocations: 2.462 MB / 0.7292 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.6901, allocations: 327.3 kB / 0.7295 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004373/0.6905, allocations: 161.3 kB / 0.7297 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.6905, allocations: 12.2 kB / 0.7297 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006281/0.6912, allocations: 268.7 kB / 0.7299 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.6912, allocations: 4 kB / 0.7299 GB, free: 12.35 MB / 0.5294 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.01353/0.7047, allocations: 3.243 MB / 0.7331 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.7048, allocations: 166.2 kB / 0.7333 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.7053, allocations: 385.5 kB / 0.7336 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.7054, allocations: 41.7 kB / 0.7337 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.7056, allocations: 260.5 kB / 0.7339 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.7058, allocations: 170.5 kB / 0.7341 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.706, allocations: 126.2 kB / 0.7342 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.7062, allocations: 354.8 kB / 0.7345 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.7069, allocations: 225.1 kB / 0.7347 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.7078, allocations: 409 kB / 0.7351 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.7093, allocations: 0.6394 MB / 0.7358 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7093, allocations: 0 / 0.7358 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002166/0.7115, allocations: 0.7987 MB / 0.7365 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.7116, allocations: 33.7 kB / 0.7366 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.7116, allocations: 4 kB / 0.7366 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.7121, allocations: 118.4 kB / 0.7367 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.7127, allocations: 131.8 kB / 0.7368 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007072/0.7134, allocations: 0.6774 MB / 0.7375 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.7139, allocations: 51.94 kB / 0.7375 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/0.714, allocations: 40 kB / 0.7376 GB, free: 4.133 MB / 0.5294 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.0003263/0.7143, allocations: 204 kB / 0.7378 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.7144, allocations: 51.67 kB / 0.7378 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.7166, allocations: 0.7367 MB / 0.7385 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.7166, allocations: 4 kB / 0.7385 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.7166, allocations: 4 kB / 0.7385 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.7166, allocations: 7.938 kB / 0.7385 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.7194, allocations: 1.27 MB / 0.7398 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7194, allocations: 0 / 0.7398 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.72, allocations: 108 kB / 0.7399 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/0.7206, allocations: 108.7 kB / 0.74 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.7206, allocations: 15.94 kB / 0.74 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.7229, allocations: 1.819 MB / 0.7418 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/0.7229, allocations: 12.08 kB / 0.7418 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.7255, allocations: 0.9673 MB / 0.7427 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.7258, allocations: 160.8 kB / 0.7429 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/0.7259, allocations: 16 kB / 0.7429 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.7264, allocations: 43.94 kB / 0.7429 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.7266, allocations: 59.86 kB / 0.743 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.7267, allocations: 40 kB / 0.743 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003569/0.727, allocations: 275.1 kB / 0.7433 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.727, allocations: 0 / 0.7433 GB, free: 13.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009147/0.7279, allocations: 239.7 kB / 0.7435 GB, free: 13.73 MB / 0.545 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.0008937/0.7288, allocations: 305.9 kB / 0.7438 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.7306, allocations: 0.5874 MB / 0.7444 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7306, allocations: 3.938 kB / 0.7444 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.7315, allocations: 394.2 kB / 0.7448 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.7327, allocations: 219.9 kB / 0.745 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.7351, allocations: 1.186 MB / 0.7461 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.7356, allocations: 0.8553 MB / 0.747 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.7359, allocations: 83.42 kB / 0.7471 GB, free: 10.01 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.7359, allocations: 0 / 0.7471 GB, free: 10.01 MB / 0.545 GB Notification: Performance of Templates: time 0.0186/0.7545, allocations: 11.76 MB / 0.7586 GB, free: 14.28 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 10.294914862141013]