Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002129/0.002129, allocations: 214.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.91 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2351, allocations: 53.41 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004748/0.2399, allocations: 3.37 MB / 435 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2415, allocations: 0.9654 MB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.2417, allocations: 11.94 kB / 436 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.242, allocations: 103.1 kB / 436.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.2423, allocations: 202.3 kB / 436.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.2426, allocations: 131.8 kB / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007633/0.2434, allocations: 0.6808 MB / 437.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.2436, allocations: 130.9 kB / 437.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.2439, allocations: 267 kB / 437.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.2443, allocations: 254.7 kB / 437.7 MB, free: 444 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.2444, allocations: 60 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2445, allocations: 56 kB / 437.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2446, allocations: 123.6 kB / 437.9 MB, free: 204 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.2449, allocations: 262.9 kB / 438.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.2456, allocations: 0.6989 MB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2456, allocations: 0 / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2456, allocations: 3.938 kB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.2456, allocations: 4 kB / 438.9 MB, free: 15.23 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.001571/0.2472, allocations: 0.8294 MB / 439.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2472, allocations: 11.98 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.2473, allocations: 76.5 kB / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/0.2481, allocations: 369.1 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.2482, allocations: 114.3 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.2483, allocations: 32.33 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.2494, allocations: 0.8647 MB / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.2494, allocations: 3.938 kB / 441.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.2494, allocations: 19.98 kB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2495, allocations: 11.98 kB / 441.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.2503, allocations: 334.4 kB / 441.6 MB, free: 12.36 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.001925/0.2522, allocations: 0.9362 MB / 442.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.2529, allocations: 277.4 kB / 442.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.2533, allocations: 164.8 kB / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.2534, allocations: 4 kB / 442.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.2534, allocations: 46.5 kB / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.2534, allocations: 0 / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001571/0.255, allocations: 0.5711 MB / 443.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002344/0.2552, allocations: 445 kB / 444 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.2557, allocations: 426 kB / 444.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.2558, allocations: 33.7 kB / 444.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.256, allocations: 248.5 kB / 444.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.2561, allocations: 134.8 kB / 444.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2562, allocations: 77.48 kB / 444.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2564, allocations: 362.7 kB / 445.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.2568, allocations: 169.5 kB / 445.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/0.2575, allocations: 0.6739 MB / 446.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.2583, allocations: 341.1 kB / 446.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2583, allocations: 0 / 446.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001055/0.2594, allocations: 0.5037 MB / 446.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.2594, allocations: 33.7 kB / 446.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2594, allocations: 0 / 446.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.2596, allocations: 57.56 kB / 447 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.26, allocations: 87.81 kB / 447.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.2626, allocations: 2.693 MB / 449.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.263, allocations: 59.78 kB / 449.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.263, allocations: 8 kB / 449.8 MB, free: 3.449 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.0002209/0.2632, allocations: 177.8 kB / 450 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/0.2633, allocations: 47.72 kB / 450.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.2634, allocations: 56.56 kB / 450.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2635, allocations: 4.234 kB / 450.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.2635, allocations: 0 / 450.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.2645, allocations: 0.727 MB / 450.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.2661, allocations: 0.857 MB / 451.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2661, allocations: 0 / 451.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.2666, allocations: 87.88 kB / 451.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2666, allocations: 8 kB / 451.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.2666, allocations: 4 kB / 451.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2666, allocations: 0 / 451.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2666, allocations: 4 kB / 451.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.2679, allocations: 0.6525 MB / 452.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.2681, allocations: 87.62 kB / 452.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.2682, allocations: 12 kB / 452.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.2686, allocations: 23.97 kB / 452.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.2687, allocations: 23.95 kB / 452.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.2687, allocations: 12 kB / 452.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003513/0.269, allocations: 307.1 kB / 452.9 MB, free: 212 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.269, allocations: 0 / 452.9 MB, free: 212 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.2695, allocations: 139.8 kB / 453 MB, free: 72 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.0001392/0.2696, allocations: 111.2 kB / 453.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.2709, allocations: 0.6465 MB / 453.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2709, allocations: 64 / 453.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.2713, allocations: 163.8 kB / 454 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.2719, allocations: 133.5 kB / 454.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2735, allocations: 0.943 MB / 455 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.2738, allocations: 228.5 kB / 455.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.274, allocations: 60.23 kB / 455.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.2741, allocations: 43.44 kB / 455.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2741, allocations: 0 / 455.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01813/0.2923, allocations: 10 MB / 465.4 MB, free: 3.863 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.760379277169704]