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.001018/0.001018, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0009582/0.0009582, allocations: 163.6 kB / 24.99 MB, free: 8.254 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2887/0.2887, allocations: 34.25 MB / 296 MB, free: 0.7695 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 4.027e-06/4.027e-06, allocations: 4 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.66e-05, allocations: 2.312 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3226/0.3226, allocations: 156.4 MB / 0.5219 GB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3248, allocations: 1.626 MB / 0.5235 GB, free: 9.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.3251, allocations: 21.25 kB / 0.5235 GB, free: 9.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005035/0.3256, allocations: 210.7 kB / 0.5237 GB, free: 9.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.3269, allocations: 0.8185 MB / 0.5245 GB, free: 8.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.328, allocations: 0.6915 MB / 0.5252 GB, free: 8.316 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.3288, allocations: 1.163 MB / 0.5263 GB, free: 7.777 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.3292, allocations: 298.3 kB / 0.5266 GB, free: 7.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.3299, allocations: 0.6237 MB / 0.5272 GB, free: 7.336 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.3302, allocations: 353.3 kB / 0.5275 GB, free: 7.223 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.3303, allocations: 46.06 kB / 0.5276 GB, free: 7.223 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.3309, allocations: 0.4889 MB / 0.5281 GB, free: 7.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.331, allocations: 172.1 kB / 0.5282 GB, free: 6.992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.3312, allocations: 195 kB / 0.5284 GB, free: 6.914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008339/0.332, allocations: 0.8467 MB / 0.5292 GB, free: 6.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.332, allocations: 4 kB / 0.5292 GB, free: 6.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.332, allocations: 0 / 0.5292 GB, free: 6.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.3321, allocations: 0 / 0.5292 GB, free: 6.59 MB / 410.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.001023/0.3331, allocations: 0.926 MB / 0.5301 GB, free: 5.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3331, allocations: 11.59 kB / 0.5302 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.3334, allocations: 113.4 kB / 0.5303 GB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.3338, allocations: 362.5 kB / 0.5306 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.3339, allocations: 88.2 kB / 0.5307 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.3339, allocations: 40.62 kB / 0.5307 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.3344, allocations: 0.6641 MB / 0.5314 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3344, allocations: 10.83 kB / 0.5314 GB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.3345, allocations: 13.91 kB / 0.5314 GB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.3345, allocations: 19.03 kB / 0.5314 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.3348, allocations: 194.9 kB / 0.5316 GB, free: 4.91 MB / 410.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.001434/0.3362, allocations: 2.3 MB / 0.5339 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.3365, allocations: 210.8 kB / 0.5341 GB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3366, allocations: 81.19 kB / 0.5341 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3367, allocations: 5.812 kB / 0.5341 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.3369, allocations: 361 kB / 0.5345 GB, free: 2.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.152e-06/0.3369, allocations: 4 kB / 0.5345 GB, free: 2.578 MB / 410.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.00383/0.3407, allocations: 1.877 MB / 0.5363 GB, free: 1.781 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3408, allocations: 136.7 kB / 0.5364 GB, free: 1.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.341, allocations: 403.8 kB / 0.5368 GB, free: 1.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.341, allocations: 32.52 kB / 0.5369 GB, free: 1.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3411, allocations: 309.5 kB / 0.5372 GB, free: 1.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.3412, allocations: 169.5 kB / 0.5373 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3413, allocations: 126.9 kB / 0.5374 GB, free: 0.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.3414, allocations: 0.5317 MB / 0.538 GB, free: 368 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3415, allocations: 116.4 kB / 0.5381 GB, free: 320 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.3418, allocations: 442.7 kB / 0.5385 GB, free: 15.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.3422, allocations: 464 kB / 0.5389 GB, free: 15.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3422, allocations: 3.438 kB / 0.5389 GB, free: 15.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007207/0.343, allocations: 0.5694 MB / 0.5395 GB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.343, allocations: 32.02 kB / 0.5395 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.343, allocations: 5.219 kB / 0.5395 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.3432, allocations: 80.81 kB / 0.5396 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.3435, allocations: 130.3 kB / 0.5397 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004013/0.3439, allocations: 0.8566 MB / 0.5406 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3441, allocations: 35.58 kB / 0.5406 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.3441, allocations: 39.03 kB / 0.5406 GB, free: 14.3 MB / 426.7 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.0001514/0.3443, allocations: 198.3 kB / 0.5408 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.3443, allocations: 66.06 kB / 0.5409 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/0.345, allocations: 478.4 kB / 0.5413 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.345, allocations: 5.938 kB / 0.5414 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.345, allocations: 0 / 0.5414 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.345, allocations: 2.531 kB / 0.5414 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.3462, allocations: 0.9466 MB / 0.5423 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3462, allocations: 2.406 kB / 0.5423 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.3464, allocations: 83.56 kB / 0.5424 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/0.3467, allocations: 105.2 kB / 0.5425 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.3467, allocations: 14.69 kB / 0.5425 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3479, allocations: 1.952 MB / 0.5444 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3479, allocations: 5.859 kB / 0.5444 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.3487, allocations: 0.6482 MB / 0.545 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3488, allocations: 83.16 kB / 0.5451 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.3489, allocations: 11.19 kB / 0.5451 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.3491, allocations: 28.38 kB / 0.5451 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.3492, allocations: 65.41 kB / 0.5452 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.3492, allocations: 26.72 kB / 0.5452 GB, free: 10.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.3494, allocations: 258.3 kB / 0.5455 GB, free: 10.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3494, allocations: 3.938 kB / 0.5455 GB, free: 10.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005212/0.3499, allocations: 235.3 kB / 0.5457 GB, free: 10.75 MB / 426.7 MB 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 (40): * Single equations (assignments): 37 * 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.0004802/0.3504, allocations: 307.4 kB / 0.546 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.351, allocations: 409.3 kB / 0.5464 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.351, allocations: 0 / 0.5464 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.3513, allocations: 347.1 kB / 0.5467 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.3519, allocations: 211.5 kB / 0.5469 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3536, allocations: 0.9924 MB / 0.5479 GB, free: 9.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.3537, allocations: 135.5 kB / 0.548 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003122/0.354, allocations: 135 kB / 0.5481 GB, free: 9.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.3541, allocations: 62.89 kB / 0.5482 GB, free: 9.301 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3541, allocations: 0 / 0.5482 GB, free: 9.301 MB / 426.7 MB Notification: Performance of Templates: time 0.01395/0.368, allocations: 12.81 MB / 0.5607 GB, free: 14.05 MB / 442.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.925913305953145]