Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000778/0.000778, allocations: 83.97 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.436e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07602/0.07605, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2703/0.3464, allocations: 82.22 MB / 445.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.3468, allocations: 84.2 kB / 445.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04466/0.3915, allocations: 19.24 MB / 464.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3915, allocations: 3.938 kB / 464.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3915, allocations: 8 kB / 464.6 MB, free: 14.11 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002506/0.3941, allocations: 0.9454 MB / 465.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3941, allocations: 8.031 kB / 465.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.3952, allocations: 176.5 kB / 465.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3954, allocations: 227 kB / 466 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.3954, allocations: 27.94 kB / 466 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.3955, allocations: 51.88 kB / 466.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008351/0.3964, allocations: 0.5062 MB / 466.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/0.3973, allocations: 0.5658 MB / 467.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.3973, allocations: 4 kB / 467.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.3974, allocations: 0 / 467.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.3974, allocations: 16 kB / 467.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.4005, allocations: 2.233 MB / 469.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.4021, allocations: 1.605 MB / 471 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.4024, allocations: 220.9 kB / 471.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.4025, allocations: 104.6 kB / 471.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4026, allocations: 39.06 kB / 471.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 1.904e-06/0.4026, allocations: 0 / 471.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.001146/0.4037, allocations: 0.5312 MB / 471.9 MB, free: 7.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.4038, allocations: 111.4 kB / 472 MB, free: 7.684 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.404, allocations: 215.8 kB / 472.2 MB, free: 7.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.4041, allocations: 25.7 kB / 472.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4042, allocations: 263.6 kB / 472.5 MB, free: 7.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.4043, allocations: 217.6 kB / 472.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.4044, allocations: 0 / 472.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4045, allocations: 345.3 kB / 473 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.4048, allocations: 170.9 kB / 473.2 MB, free: 6.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.4051, allocations: 248.5 kB / 473.4 MB, free: 6.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/0.4058, allocations: 315.4 kB / 473.8 MB, free: 6.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.4059, allocations: 0 / 473.8 MB, free: 6.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001201/0.4071, allocations: 0.6351 MB / 474.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4071, allocations: 4 kB / 474.4 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4071, allocations: 7.984 kB / 474.4 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4071, allocations: 4 kB / 474.4 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.4079, allocations: 167.9 kB / 474.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4079, allocations: 8 kB / 474.6 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.4084, allocations: 67.3 kB / 474.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.4084, allocations: 24 kB / 474.7 MB, free: 5.348 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.4085, allocations: 108.9 kB / 474.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.4086, allocations: 39.53 kB / 474.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.4099, allocations: 0.601 MB / 475.4 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.41, allocations: 8 kB / 475.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.41, allocations: 0 / 475.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.41, allocations: 7.984 kB / 475.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.4119, allocations: 1.211 MB / 476.6 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.412, allocations: 0 / 476.6 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.4125, allocations: 127.9 kB / 476.8 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.4126, allocations: 7.938 kB / 476.8 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.4126, allocations: 19.94 kB / 476.8 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4126, allocations: 4 kB / 476.8 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4126, allocations: 3.984 kB / 476.8 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.4142, allocations: 0.9571 MB / 477.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.4143, allocations: 124.5 kB / 477.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.4143, allocations: 8.016 kB / 477.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.4147, allocations: 23.98 kB / 477.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.4148, allocations: 44.5 kB / 477.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.4149, allocations: 19.98 kB / 478 MB, free: 1.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.415, allocations: 164.5 kB / 478.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.683e-06/0.415, allocations: 0 / 478.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005428/0.4156, allocations: 163.5 kB / 478.3 MB, free: 1.617 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.4158, allocations: 143.1 kB / 478.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007073/0.4165, allocations: 458.2 kB / 478.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4165, allocations: 0 / 478.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.4169, allocations: 230 kB / 479.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.4172, allocations: 28.59 kB / 479.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.419, allocations: 0.7701 MB / 479.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.4194, allocations: 0.8536 MB / 480.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.4198, allocations: 79.28 kB / 480.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.42, allocations: 43.42 kB / 480.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.42, allocations: 0 / 480.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of Templates: time 0.008188/0.4282, allocations: 4.284 MB / 485.2 MB, free: 10.69 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches