Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001384/0.001384, allocations: 96.02 kB / 21.18 MB, free: 0.6484 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.001431/0.001431, allocations: 177 kB / 24.45 MB, free: 3.977 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.456/1.456, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 47.92 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2751, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006101/0.2812, allocations: 3.383 MB / 427.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.2831, allocations: 0.9229 MB / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.2833, allocations: 7.938 kB / 428.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.2836, allocations: 111.1 kB / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.2841, allocations: 194.4 kB / 428.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.2843, allocations: 131.8 kB / 428.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008113/0.2852, allocations: 0.6847 MB / 429.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.2854, allocations: 122.8 kB / 429.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.2857, allocations: 267 kB / 429.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.2861, allocations: 254.8 kB / 429.9 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.103e-05/0.2862, allocations: 60 kB / 429.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2863, allocations: 60 kB / 430 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.2864, allocations: 127.5 kB / 430.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.2867, allocations: 254.9 kB / 430.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.2875, allocations: 0.7032 MB / 431.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2875, allocations: 0 / 431.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2875, allocations: 0 / 431.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2875, allocations: 0 / 431.1 MB, free: 7.223 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001622/0.2891, allocations: 0.8294 MB / 431.9 MB, free: 6.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2891, allocations: 12.03 kB / 431.9 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.2893, allocations: 64.56 kB / 432 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/0.2901, allocations: 381 kB / 432.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.2902, allocations: 118.2 kB / 432.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.2903, allocations: 32.38 kB / 432.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2914, allocations: 0.8502 MB / 433.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2914, allocations: 0 / 433.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.2915, allocations: 20 kB / 433.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2915, allocations: 4 kB / 433.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000873/0.2923, allocations: 342.3 kB / 433.7 MB, free: 4.363 MB / 334.1 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.001907/0.2942, allocations: 0.9478 MB / 434.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.2949, allocations: 283.3 kB / 434.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.2953, allocations: 168.6 kB / 435.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.2954, allocations: 8.594 kB / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.2954, allocations: 38.56 kB / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.2954, allocations: 0 / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001569/0.297, allocations: 0.5687 MB / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.2972, allocations: 449 kB / 436.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.2977, allocations: 429.9 kB / 436.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.2977, allocations: 33.7 kB / 436.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.2979, allocations: 248.5 kB / 436.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.2981, allocations: 130.8 kB / 437 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2982, allocations: 73.7 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2984, allocations: 354.7 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.2988, allocations: 165.6 kB / 437.5 MB, free: 308 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007619/0.2995, allocations: 0.6817 MB / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007665/0.3003, allocations: 341.1 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3003, allocations: 0 / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001021/0.3013, allocations: 0.4959 MB / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.3014, allocations: 29.7 kB / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3014, allocations: 0 / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.3015, allocations: 57.62 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.3019, allocations: 83.97 kB / 439.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.3045, allocations: 2.7 MB / 441.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.305, allocations: 55.94 kB / 442 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.305, allocations: 16 kB / 442 MB, free: 11.44 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.3052, allocations: 169.7 kB / 442.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.3053, allocations: 55.67 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3054, allocations: 48.58 kB / 442.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3054, allocations: 3.984 kB / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3054, allocations: 4 kB / 442.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.3064, allocations: 0.7244 MB / 443 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.308, allocations: 0.8528 MB / 443.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.308, allocations: 7.938 kB / 443.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.3085, allocations: 91.88 kB / 443.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3085, allocations: 0 / 443.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.3085, allocations: 8 kB / 443.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3085, allocations: 0 / 443.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3085, allocations: 3.938 kB / 443.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.3098, allocations: 0.6482 MB / 444.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.31, allocations: 91.55 kB / 444.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.3101, allocations: 8 kB / 444.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.3104, allocations: 35.91 kB / 444.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.3105, allocations: 23.95 kB / 444.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3105, allocations: 4 kB / 444.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.3109, allocations: 315.1 kB / 445.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3109, allocations: 0 / 445.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004857/0.3114, allocations: 139.8 kB / 445.2 MB, free: 8.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/0.3116, allocations: 107.7 kB / 445.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.3128, allocations: 0.6548 MB / 446 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.3128, allocations: 4 kB / 446 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.3132, allocations: 167.6 kB / 446.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.3139, allocations: 129.7 kB / 446.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.3158, allocations: 0.9734 MB / 447.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3161, allocations: 224.5 kB / 447.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.3162, allocations: 43.42 kB / 447.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3162, allocations: 0 / 447.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of Templates: time 0.01353/0.3298, allocations: 8.987 MB / 456.5 MB, free: 12.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 8.118711603339761]