Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001582, allocations: 114.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.68/1.68, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.354, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00823/0.3623, allocations: 4.175 MB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003978/0.3663, allocations: 1.713 MB / 415.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007538/0.3671, allocations: 12 kB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.3699, allocations: 1.019 MB / 416.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.371, allocations: 234.3 kB / 417.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.3729, allocations: 0.7624 MB / 417.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.3739, allocations: 0.6105 MB / 418.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009394/0.3748, allocations: 495.2 kB / 418.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.3754, allocations: 267 kB / 419.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.3759, allocations: 338.6 kB / 419.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.376, allocations: 52 kB / 419.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.3768, allocations: 295.7 kB / 419.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.377, allocations: 123.6 kB / 420 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.3774, allocations: 306.5 kB / 420.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.3789, allocations: 0.9358 MB / 421.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3789, allocations: 0 / 421.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.3789, allocations: 4 kB / 421.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.379, allocations: 3.938 kB / 421.2 MB, free: 6.238 MB / 334.1 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.004375/0.3833, allocations: 1.218 MB / 422.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.3834, allocations: 8.031 kB / 422.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.3847, allocations: 184 kB / 422.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.385, allocations: 252 kB / 422.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.3851, allocations: 50.38 kB / 422.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3853, allocations: 68.38 kB / 423 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.3867, allocations: 0.6999 MB / 423.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.3868, allocations: 7.891 kB / 423.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/0.3869, allocations: 28 kB / 423.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3869, allocations: 16 kB / 423.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3884, allocations: 0.6062 MB / 424.4 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/0.3929, allocations: 2.297 MB / 426.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.3947, allocations: 1.633 MB / 428.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/0.3952, allocations: 274.9 kB / 428.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.3955, allocations: 178.8 kB / 428.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.3955, allocations: 47.12 kB / 428.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.766e-06/0.3956, allocations: 0 / 428.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001663/0.3972, allocations: 0.6937 MB / 429.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.3973, allocations: 119.5 kB / 429.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.3977, allocations: 256.9 kB / 429.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.3977, allocations: 37.7 kB / 429.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.3979, allocations: 264 kB / 430.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.3981, allocations: 224.7 kB / 430.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.3983, allocations: 114.6 kB / 430.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3985, allocations: 346.8 kB / 430.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.399, allocations: 221.8 kB / 431 MB, free: 11.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.3995, allocations: 301.4 kB / 431.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.4006, allocations: 0.5142 MB / 431.8 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4006, allocations: 4 kB / 431.8 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001318/0.4019, allocations: 0.6295 MB / 432.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.402, allocations: 4 kB / 432.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.402, allocations: 0 / 432.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.402, allocations: 12.19 kB / 432.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.4027, allocations: 155.8 kB / 432.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.4028, allocations: 4 kB / 432.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.4033, allocations: 75.34 kB / 432.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.4033, allocations: 23.98 kB / 432.7 MB, free: 10.09 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002746/0.4036, allocations: 189.6 kB / 432.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4037, allocations: 35.62 kB / 433 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.4051, allocations: 0.6045 MB / 433.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.4052, allocations: 11.98 kB / 433.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4052, allocations: 3.938 kB / 433.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4052, allocations: 0 / 433.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.4075, allocations: 1.294 MB / 434.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4076, allocations: 0 / 434.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.4081, allocations: 131.8 kB / 435 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.4082, allocations: 4 kB / 435 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.4082, allocations: 12 kB / 435 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.4082, allocations: 7.938 kB / 435 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4082, allocations: 0 / 435 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.4099, allocations: 0.9713 MB / 436 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.4101, allocations: 120.6 kB / 436.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.4102, allocations: 11.91 kB / 436.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.4106, allocations: 35.91 kB / 436.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4107, allocations: 40.52 kB / 436.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.4107, allocations: 24.05 kB / 436.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.4109, allocations: 188.5 kB / 436.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4109, allocations: 0 / 436.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005928/0.4115, allocations: 175.5 kB / 436.6 MB, free: 6.141 MB / 350.1 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 () * Number of clocked 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 (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.0002741/0.4118, allocations: 143.2 kB / 436.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.413, allocations: 0.539 MB / 437.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.413, allocations: 0 / 437.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.4135, allocations: 271.1 kB / 437.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.4141, allocations: 52.36 kB / 437.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.4163, allocations: 1.083 MB / 438.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.4167, allocations: 0.8499 MB / 439.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.4169, allocations: 51.42 kB / 439.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.417, allocations: 0 / 439.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01235/0.4293, allocations: 6.832 MB / 446.4 MB, free: 12.28 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches