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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 114.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.67 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08201, allocations: 50.52 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004629/0.08669, allocations: 3.708 MB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.08817, allocations: 1.016 MB / 361.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.08834, allocations: 7.938 kB / 361.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.08864, allocations: 87.44 kB / 361.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.08898, allocations: 174.7 kB / 362 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.08922, allocations: 107.8 kB / 362.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000636/0.08987, allocations: 0.6847 MB / 362.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.09015, allocations: 186.2 kB / 362.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.0904, allocations: 255.1 kB / 363.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.0907, allocations: 294.7 kB / 363.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.09078, allocations: 60 kB / 363.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.09087, allocations: 56 kB / 363.6 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.09098, allocations: 127.6 kB / 363.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.09124, allocations: 310.5 kB / 364 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.0918, allocations: 0.6854 MB / 364.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09182, allocations: 0 / 364.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09182, allocations: 4 kB / 364.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.09184, allocations: 0 / 364.7 MB, free: 6.652 MB / 302.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.001449/0.09329, allocations: 0.8972 MB / 365.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.09333, allocations: 8.031 kB / 365.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.09345, allocations: 68.19 kB / 365.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.09405, allocations: 422.5 kB / 366.1 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.09428, allocations: 86.88 kB / 366.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.09434, allocations: 32.31 kB / 366.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/0.09519, allocations: 0.4931 MB / 366.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.09522, allocations: 0 / 366.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.09527, allocations: 20 kB / 366.7 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.09528, allocations: 8 kB / 366.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008736/0.09616, allocations: 362.4 kB / 367.1 MB, free: 4.125 MB / 302.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.001873/0.09804, allocations: 1.29 MB / 368.4 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/0.09876, allocations: 384.5 kB / 368.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.0992, allocations: 196.7 kB / 368.9 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.09925, allocations: 11.98 kB / 368.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.09929, allocations: 42.56 kB / 369 MB, free: 2.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.09929, allocations: 0 / 369 MB, free: 2.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001638/0.1009, allocations: 0.7587 MB / 369.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.1011, allocations: 456.9 kB / 370.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.1016, allocations: 450 kB / 370.6 MB, free: 276 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.1017, allocations: 37.7 kB / 370.7 MB, free: 232 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1407/0.2424, allocations: 239.4 kB / 370.9 MB, free: 20.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.2426, allocations: 125.5 kB / 371 MB, free: 20.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.2428, allocations: 74.16 kB / 371.1 MB, free: 20.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2429, allocations: 360.2 kB / 371.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.2434, allocations: 153.6 kB / 371.6 MB, free: 20.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.2439, allocations: 291.5 kB / 371.9 MB, free: 19.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/0.2447, allocations: 370.7 kB / 372.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2447, allocations: 0.5 kB / 372.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001124/0.2458, allocations: 0.5042 MB / 372.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.2459, allocations: 32.78 kB / 372.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2459, allocations: 3.625 kB / 372.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.2461, allocations: 54.05 kB / 372.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.2465, allocations: 90.09 kB / 372.9 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.2486, allocations: 2.962 MB / 375.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.2492, allocations: 66.7 kB / 375.9 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.2492, allocations: 14.16 kB / 376 MB, free: 16.98 MB / 302.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.0002393/0.2495, allocations: 164.8 kB / 376.1 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2496, allocations: 54.22 kB / 376.2 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2497, allocations: 52.89 kB / 376.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2497, allocations: 7.531 kB / 376.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2497, allocations: 0.7188 kB / 376.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/0.2509, allocations: 0.7517 MB / 377 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.2525, allocations: 1.042 MB / 378 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2525, allocations: 3.812 kB / 378 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.253, allocations: 95.84 kB / 378.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.253, allocations: 1.438 kB / 378.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.253, allocations: 6.656 kB / 378.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.253, allocations: 1.438 kB / 378.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.253, allocations: 1.922 kB / 378.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.2544, allocations: 0.6946 MB / 378.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.2546, allocations: 170.4 kB / 379 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.2546, allocations: 8.828 kB / 379 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.255, allocations: 44.38 kB / 379 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.2551, allocations: 24.69 kB / 379.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2551, allocations: 6.656 kB / 379.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.2555, allocations: 323.6 kB / 379.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2555, allocations: 0 / 379.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.2559, allocations: 135.2 kB / 379.5 MB, free: 14.85 MB / 302.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.0001138/0.256, allocations: 111.8 kB / 379.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.2573, allocations: 0.6759 MB / 380.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2573, allocations: 1.5 kB / 380.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.2578, allocations: 189.9 kB / 380.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/0.2585, allocations: 152.9 kB / 380.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2601, allocations: 1.085 MB / 381.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2604, allocations: 0.83 MB / 382.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.2607, allocations: 63.22 kB / 382.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.2609, allocations: 45.27 kB / 382.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2609, allocations: 0 / 382.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Templates: time 0.01439/0.2753, allocations: 8.7 MB / 391.4 MB, free: 10.13 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches