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.00143/0.00143, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001588/0.001588, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 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.454/1.454, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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 5.23e-06/5.23e-06, allocations: 3.984 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.996e-05, allocations: 6.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00529/0.00532, allocations: 3.375 MB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.007197, allocations: 0.9733 MB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.007374, allocations: 7.938 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.007708, allocations: 99.08 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.008168, allocations: 222.2 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.008467, allocations: 131.7 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008648/0.009331, allocations: 0.7115 MB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.00959, allocations: 130.9 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.01007, allocations: 391.2 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.01041, allocations: 215.4 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.01051, allocations: 56 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.01062, allocations: 64 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.01075, allocations: 123.5 kB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.01102, allocations: 223.5 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008441/0.01187, allocations: 0.7126 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.01187, allocations: 0 / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01187, allocations: 0 / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.01188, allocations: 0 / 279.6 MB, free: 10.38 MB / 266.7 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.001754/0.01363, allocations: 0.8294 MB / 280.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.01368, allocations: 11.98 kB / 280.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.0139, allocations: 100.5 kB / 280.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/0.01486, allocations: 376.3 kB / 280.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.01501, allocations: 110.3 kB / 281 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.0151, allocations: 44.31 kB / 281 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.01631, allocations: 0.8468 MB / 281.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01632, allocations: 192 / 281.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.01637, allocations: 20.12 kB / 281.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.01638, allocations: 8 kB / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009591/0.01734, allocations: 342.3 kB / 282.3 MB, free: 7.48 MB / 266.7 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.002054/0.01939, allocations: 0.9442 MB / 283.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.02011, allocations: 290.3 kB / 283.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.02054, allocations: 165.3 kB / 283.6 MB, free: 6.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.02059, allocations: 11.92 kB / 283.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.02063, allocations: 42.42 kB / 283.7 MB, free: 5.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.462e-06/0.02063, allocations: 7.938 kB / 283.7 MB, free: 5.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001699/0.02233, allocations: 0.5752 MB / 284.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003057/0.02263, allocations: 441 kB / 284.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005513/0.02318, allocations: 434 kB / 285.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/0.02323, allocations: 33.7 kB / 285.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.02347, allocations: 248.5 kB / 285.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.0236, allocations: 126.8 kB / 285.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.02376, allocations: 77.69 kB / 285.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.02398, allocations: 350.8 kB / 286 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.02442, allocations: 169.5 kB / 286.1 MB, free: 3.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/0.02527, allocations: 0.6856 MB / 286.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.02609, allocations: 337.1 kB / 287.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02609, allocations: 0 / 287.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00115/0.02724, allocations: 0.5192 MB / 287.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.02729, allocations: 37.69 kB / 287.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.0273, allocations: 0 / 287.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.02748, allocations: 49.64 kB / 287.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.02792, allocations: 83.91 kB / 287.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.0309, allocations: 2.701 MB / 290.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.03132, allocations: 48 kB / 290.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.03136, allocations: 16 kB / 290.6 MB, free: 14.53 MB / 282.7 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.0002419/0.0316, allocations: 165.8 kB / 290.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.03173, allocations: 71.59 kB / 290.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.03184, allocations: 48.58 kB / 290.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.03184, allocations: 7.938 kB / 290.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.03185, allocations: 0 / 290.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.03297, allocations: 0.7272 MB / 291.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.03468, allocations: 0.845 MB / 292.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.03468, allocations: 0 / 292.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.03515, allocations: 95.88 kB / 292.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.03516, allocations: 7.938 kB / 292.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.03518, allocations: 7.984 kB / 292.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.03519, allocations: 4 kB / 292.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.03519, allocations: 0 / 292.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.03661, allocations: 0.6642 MB / 293.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.03681, allocations: 95.56 kB / 293.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.03687, allocations: 8 kB / 293.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.03728, allocations: 27.97 kB / 293.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.03737, allocations: 23.95 kB / 293.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.03739, allocations: 11.94 kB / 293.4 MB, free: 11.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003863/0.03777, allocations: 307.2 kB / 293.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03777, allocations: 0 / 293.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004847/0.03826, allocations: 139.8 kB / 293.8 MB, free: 11.12 MB / 282.7 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.0001555/0.03841, allocations: 103.2 kB / 293.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.03975, allocations: 0.6541 MB / 294.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.03975, allocations: 0 / 294.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.04018, allocations: 159.8 kB / 294.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.04086, allocations: 145.6 kB / 294.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.04252, allocations: 0.8723 MB / 295.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.04284, allocations: 228.5 kB / 296 MB, free: 8.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.04309, allocations: 64.23 kB / 296 MB, free: 8.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.04322, allocations: 44.5 kB / 296.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04322, allocations: 0 / 296.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of Templates: time 0.1477/0.191, allocations: 9.254 MB / 305.3 MB, free: 43.17 MB / 282.7 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.66025618405547]