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.001352/0.001352, allocations: 112.5 kB / 21.19 MB, free: 0.7773 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.00154/0.00154, allocations: 206.3 kB / 24.49 MB, free: 4.164 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001616/0.001616, allocations: 55.91 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2308, allocations: 53.37 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004918/0.2357, allocations: 3.716 MB / 436.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2375, allocations: 1.02 MB / 437.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.2377, allocations: 7.938 kB / 437.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.238, allocations: 103.1 kB / 437.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.2384, allocations: 206.3 kB / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.2387, allocations: 127.8 kB / 437.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007884/0.2395, allocations: 0.6831 MB / 438.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.2397, allocations: 138.8 kB / 438.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.24, allocations: 263 kB / 438.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.2404, allocations: 294.8 kB / 438.9 MB, free: 372 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.2405, allocations: 56 kB / 439 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.2406, allocations: 56 kB / 439 MB, free: 260 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.2407, allocations: 135.5 kB / 439.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.241, allocations: 310.6 kB / 439.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.2417, allocations: 0.6976 MB / 440.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2418, allocations: 0 / 440.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2418, allocations: 0 / 440.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2418, allocations: 0 / 440.2 MB, free: 15.12 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.001538/0.2433, allocations: 0.8333 MB / 441 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2433, allocations: 8.031 kB / 441 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2435, allocations: 68.52 kB / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.2442, allocations: 373.1 kB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.2443, allocations: 118.3 kB / 441.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.2444, allocations: 28.38 kB / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.2452, allocations: 494.5 kB / 442.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2452, allocations: 3.953 kB / 442.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.2453, allocations: 20 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2453, allocations: 4 kB / 442.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.2461, allocations: 342.3 kB / 442.4 MB, free: 12.73 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.002039/0.2481, allocations: 1.237 MB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.2487, allocations: 284.9 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.2491, allocations: 164.8 kB / 444.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.2492, allocations: 4 kB / 444.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.2492, allocations: 38.56 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.2492, allocations: 0 / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001513/0.2507, allocations: 0.575 MB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002463/0.251, allocations: 445 kB / 445.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.2515, allocations: 454 kB / 445.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.2516, allocations: 37.69 kB / 445.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.2518, allocations: 252.6 kB / 445.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2519, allocations: 122.9 kB / 446 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.252, allocations: 77.48 kB / 446.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2522, allocations: 362.7 kB / 446.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.2525, allocations: 139.9 kB / 446.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004941/0.253, allocations: 278.8 kB / 446.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.2537, allocations: 341.1 kB / 447.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2537, allocations: 4 kB / 447.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009782/0.2547, allocations: 490 kB / 447.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.2548, allocations: 29.7 kB / 447.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2548, allocations: 7.938 kB / 447.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.2549, allocations: 57.67 kB / 447.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.2553, allocations: 83.92 kB / 447.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.2579, allocations: 2.774 MB / 450.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.2584, allocations: 47.75 kB / 450.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.2584, allocations: 19.94 kB / 450.7 MB, free: 3.898 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.0002304/0.2586, allocations: 173.8 kB / 450.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.2587, allocations: 59.66 kB / 450.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.686e-05/0.2588, allocations: 52.75 kB / 450.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2588, allocations: 8 kB / 451 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2588, allocations: 0 / 451 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009783/0.2598, allocations: 0.7231 MB / 451.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.2614, allocations: 0.9768 MB / 452.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2614, allocations: 0 / 452.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.2618, allocations: 87.88 kB / 452.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2619, allocations: 4 kB / 452.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.2619, allocations: 7.938 kB / 452.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2619, allocations: 11.98 kB / 452.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2619, allocations: 4 kB / 452.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.2631, allocations: 0.6495 MB / 453.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.2633, allocations: 99.45 kB / 453.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.2634, allocations: 15.94 kB / 453.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.2637, allocations: 23.97 kB / 453.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.2638, allocations: 27.95 kB / 453.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.2638, allocations: 8 kB / 453.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003809/0.2642, allocations: 323.1 kB / 453.9 MB, free: 492 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2642, allocations: 0 / 453.9 MB, free: 492 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.2646, allocations: 143.9 kB / 454 MB, free: 348 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.0001367/0.2648, allocations: 107.2 kB / 454.1 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.2659, allocations: 0.6176 MB / 454.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2659, allocations: 0 / 454.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.2663, allocations: 163.8 kB / 454.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.267, allocations: 141.8 kB / 455.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2686, allocations: 0.972 MB / 456 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.2691, allocations: 0.8275 MB / 456.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.2692, allocations: 43.44 kB / 456.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2692, allocations: 0 / 456.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01234/0.2816, allocations: 8.964 MB / 465.9 MB, free: 4.469 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/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: 7.438811715925112]