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.001118/0.001118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003226/0.004343, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001237/0.001237, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002718, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08975/1.109, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2969/0.2969, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02997/0.3269, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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 1.904e-06/1.904e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.307e-05, allocations: 3.891 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1837/0.1837, allocations: 147.6 MB / 440.2 MB, free: 2.125 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1865, allocations: 1.689 MB / 441.9 MB, free: 440 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.1869, allocations: 19.81 kB / 441.9 MB, free: 420 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.1872, allocations: 166.8 kB / 442.1 MB, free: 252 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2212/0.4085, allocations: 0.7669 MB / 442.9 MB, free: 3.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.4098, allocations: 0.6061 MB / 443.5 MB, free: 3.91 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009771/0.4108, allocations: 1.194 MB / 444.7 MB, free: 3.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.4111, allocations: 290.9 kB / 444.9 MB, free: 3.898 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006769/0.4118, allocations: 0.6627 MB / 445.6 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.4121, allocations: 324.4 kB / 445.9 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.4122, allocations: 45.06 kB / 446 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007516/0.413, allocations: 0.5149 MB / 446.5 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4131, allocations: 135 kB / 446.6 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.4132, allocations: 154.3 kB / 446.8 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008035/0.414, allocations: 0.7222 MB / 447.5 MB, free: 3.832 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.4141, allocations: 0 / 447.5 MB, free: 3.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4141, allocations: 0 / 447.5 MB, free: 3.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.4141, allocations: 2.281 kB / 447.5 MB, free: 3.832 MB / 426.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.001034/0.4151, allocations: 0.9359 MB / 448.4 MB, free: 19.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.4151, allocations: 12.56 kB / 448.4 MB, free: 19.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.4154, allocations: 186 kB / 448.6 MB, free: 19.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.4157, allocations: 317.7 kB / 448.9 MB, free: 19.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.4158, allocations: 81.88 kB / 449 MB, free: 19.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.4158, allocations: 48.11 kB / 449 MB, free: 19.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.4162, allocations: 0.6107 MB / 449.7 MB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4163, allocations: 7.891 kB / 449.7 MB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.4163, allocations: 19.22 kB / 449.7 MB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.4163, allocations: 17.84 kB / 449.7 MB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.4165, allocations: 144 kB / 449.8 MB, free: 18.57 MB / 442.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.001318/0.4178, allocations: 1.578 MB / 451.4 MB, free: 17.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.418, allocations: 165.7 kB / 451.6 MB, free: 17.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.418, allocations: 61.06 kB / 451.6 MB, free: 17.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4181, allocations: 6.188 kB / 451.6 MB, free: 17.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.4183, allocations: 309.8 kB / 452 MB, free: 17.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.152e-06/0.4183, allocations: 0 / 452 MB, free: 17.23 MB / 442.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.003389/0.4217, allocations: 1.767 MB / 453.7 MB, free: 16.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.4217, allocations: 57.91 kB / 453.8 MB, free: 16.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4219, allocations: 348.1 kB / 454.1 MB, free: 16.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.4219, allocations: 38.67 kB / 454.2 MB, free: 16.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.422, allocations: 226.2 kB / 454.4 MB, free: 16.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.422, allocations: 171.8 kB / 454.5 MB, free: 16.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.4221, allocations: 114.7 kB / 454.7 MB, free: 16.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.4222, allocations: 357.5 kB / 455 MB, free: 15.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.4223, allocations: 86.66 kB / 455.1 MB, free: 15.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.4225, allocations: 321.9 kB / 455.4 MB, free: 15.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.4227, allocations: 362.2 kB / 455.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4227, allocations: 0 / 455.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004195/0.4231, allocations: 436.8 kB / 456.2 MB, free: 15.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.4231, allocations: 46.05 kB / 456.2 MB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.4231, allocations: 3.531 kB / 456.2 MB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.4233, allocations: 75.17 kB / 456.3 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.4236, allocations: 149.5 kB / 456.5 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002621/0.4239, allocations: 0.564 MB / 457 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.424, allocations: 39.31 kB / 457.1 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.4241, allocations: 23.5 kB / 457.1 MB, free: 14.75 MB / 442.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.inFlow[1],sweptVolume.regularFlow[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.0001122/0.4242, allocations: 156.3 kB / 457.2 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.4242, allocations: 42.33 kB / 457.3 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.4246, allocations: 373.1 kB / 457.6 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4246, allocations: 4.578 kB / 457.6 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4247, allocations: 3.875 kB / 457.6 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4247, allocations: 3.375 kB / 457.6 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.4253, allocations: 0.622 MB / 458.3 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4253, allocations: 9.719 kB / 458.3 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.4255, allocations: 95.66 kB / 458.4 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.4256, allocations: 47.84 kB / 458.4 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.4258, allocations: 97.36 kB / 458.5 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4259, allocations: 13.14 kB / 458.5 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000723/0.4266, allocations: 1.361 MB / 459.9 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4266, allocations: 4.031 kB / 459.9 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.427, allocations: 475.7 kB / 460.4 MB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.427, allocations: 16.11 kB / 460.4 MB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.4272, allocations: 31.23 kB / 460.4 MB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.4273, allocations: 69.81 kB / 460.5 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4273, allocations: 17.78 kB / 460.5 MB, free: 12.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.907e-05/0.4274, allocations: 133.1 kB / 460.6 MB, free: 12.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4274, allocations: 0 / 460.6 MB, free: 12.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.4278, allocations: 243.2 kB / 460.9 MB, free: 12.85 MB / 442.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.0003963/0.4282, allocations: 299.1 kB / 461.1 MB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.4285, allocations: 343.9 kB / 461.5 MB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.4285, allocations: 12.48 kB / 461.5 MB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.4287, allocations: 262.5 kB / 461.8 MB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.4291, allocations: 254 kB / 462 MB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.4338, allocations: 0.9475 MB / 462.9 MB, free: 12.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.4339, allocations: 136.3 kB / 463.1 MB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.4341, allocations: 100.3 kB / 463.2 MB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.4345, allocations: 219.2 kB / 463.4 MB, free: 11.89 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4345, allocations: 1.203 kB / 463.4 MB, free: 11.89 MB / 442.7 MB Notification: Performance of Templates: time 0.01682/0.4513, allocations: 13.69 MB / 477.1 MB, free: 10.71 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 -ignoreHideResult -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.7788779651746154]