Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001319/0.001319, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 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.001468/0.001468, allocations: 206.5 kB / 23.73 MB, free: 4.402 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 51.91 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2296, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004734/0.2343, allocations: 3.378 MB / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.236, allocations: 0.9653 MB / 435.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.2361, allocations: 7.938 kB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.2364, allocations: 103.1 kB / 436 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.2368, allocations: 210.3 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.2371, allocations: 127.8 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000744/0.2378, allocations: 0.6844 MB / 437 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.2381, allocations: 122.9 kB / 437.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.2384, allocations: 270.9 kB / 437.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.2387, allocations: 246.8 kB / 437.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.875e-05/0.2388, allocations: 59.94 kB / 437.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.2389, allocations: 60 kB / 437.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.239, allocations: 131.5 kB / 437.9 MB, free: 376 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.2393, allocations: 262.9 kB / 438.2 MB, free: 112 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.24, allocations: 0.6989 MB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.24, allocations: 0 / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.24, allocations: 0 / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.24, allocations: 0 / 438.9 MB, free: 15.41 MB / 350.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.001722/0.2418, allocations: 0.8372 MB / 439.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2418, allocations: 8.031 kB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.2419, allocations: 68.52 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.2428, allocations: 369.1 kB / 440.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.2429, allocations: 114.3 kB / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.243, allocations: 32.33 kB / 440.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.2441, allocations: 0.8618 MB / 441.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.2441, allocations: 0 / 441.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.2441, allocations: 16 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2441, allocations: 8 kB / 441.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/0.245, allocations: 334.4 kB / 441.5 MB, free: 12.55 MB / 350.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.001903/0.2469, allocations: 0.9401 MB / 442.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.2476, allocations: 282.3 kB / 442.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.2481, allocations: 164.8 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.2481, allocations: 11.98 kB / 442.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2481, allocations: 38.56 kB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.2481, allocations: 0 / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001608/0.2497, allocations: 0.5711 MB / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002688/0.25, allocations: 448.9 kB / 443.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.2505, allocations: 422 kB / 444.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.2506, allocations: 41.7 kB / 444.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.2508, allocations: 248.5 kB / 444.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.2509, allocations: 134.8 kB / 444.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.251, allocations: 77.47 kB / 444.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2512, allocations: 354.7 kB / 445.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.2516, allocations: 165.6 kB / 445.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.2524, allocations: 0.6856 MB / 446 MB, free: 7.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/0.2532, allocations: 333.2 kB / 446.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2532, allocations: 0 / 446.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001066/0.2542, allocations: 0.5075 MB / 446.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.2543, allocations: 33.69 kB / 446.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2543, allocations: 4 kB / 446.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.2545, allocations: 45.7 kB / 446.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.2549, allocations: 83.88 kB / 447 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.2575, allocations: 2.716 MB / 449.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.2579, allocations: 47.8 kB / 449.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.258, allocations: 12.16 kB / 449.8 MB, free: 3.621 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.0002284/0.2582, allocations: 173.7 kB / 450 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.2583, allocations: 51.72 kB / 450 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2584, allocations: 52.56 kB / 450.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2584, allocations: 4 kB / 450.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2584, allocations: 0 / 450.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.2594, allocations: 0.7309 MB / 450.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.2611, allocations: 0.8525 MB / 451.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2611, allocations: 0 / 451.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.2615, allocations: 91.88 kB / 451.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2615, allocations: 0 / 451.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.2615, allocations: 8 kB / 451.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2615, allocations: 0 / 451.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2615, allocations: 3.984 kB / 451.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.2629, allocations: 0.6573 MB / 452.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.2631, allocations: 83.58 kB / 452.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/0.2632, allocations: 15.98 kB / 452.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.2636, allocations: 27.97 kB / 452.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.2636, allocations: 23.95 kB / 452.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.2637, allocations: 12 kB / 452.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003659/0.264, allocations: 311.1 kB / 452.9 MB, free: 376 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.264, allocations: 64 / 452.9 MB, free: 376 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.2645, allocations: 143.8 kB / 453 MB, free: 232 kB / 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.0001269/0.2646, allocations: 103.2 kB / 453.1 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.2659, allocations: 0.6387 MB / 453.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2659, allocations: 4 kB / 453.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.2663, allocations: 163.8 kB / 453.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.2669, allocations: 140 kB / 454 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.2686, allocations: 0.9392 MB / 455 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.2688, allocations: 228.5 kB / 455.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.2691, allocations: 64.23 kB / 455.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.2692, allocations: 47.38 kB / 455.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2692, allocations: 0 / 455.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01785/0.2871, allocations: 9.997 MB / 465.3 MB, free: 4.051 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.782654132694006]