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.001382/0.001382, allocations: 183.7 kB / 18.04 MB, free: 3.637 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 224.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007248/0.0007248, allocations: 90.78 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 11.98 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0943/0.3287, allocations: 82.81 MB / 459.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.329, allocations: 83.95 kB / 459.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04578/0.3748, allocations: 19.49 MB / 479.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3749, allocations: 0 / 479.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3749, allocations: 8 kB / 479.4 MB, free: 9.875 MB / 362.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.002666/0.3776, allocations: 0.96 MB / 480.4 MB, free: 8.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3776, allocations: 8.031 kB / 480.4 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.3787, allocations: 180 kB / 480.6 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3789, allocations: 244.3 kB / 480.8 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.379, allocations: 46.38 kB / 480.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.3791, allocations: 64.38 kB / 480.9 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3804, allocations: 0.7158 MB / 481.6 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.3805, allocations: 4.094 kB / 481.6 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.3805, allocations: 31.94 kB / 481.7 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3806, allocations: 20 kB / 481.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3819, allocations: 0.6274 MB / 482.3 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.3853, allocations: 2.344 MB / 484.7 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.3871, allocations: 1.628 MB / 486.3 MB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.3876, allocations: 291.7 kB / 486.6 MB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.3878, allocations: 97.64 kB / 486.7 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.3879, allocations: 39.12 kB / 486.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.306e-06/0.3879, allocations: 0 / 486.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001611/0.3895, allocations: 0.733 MB / 487.4 MB, free: 1.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.3896, allocations: 107.4 kB / 487.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.3898, allocations: 260.9 kB / 487.8 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.3899, allocations: 33.7 kB / 487.8 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.39, allocations: 268 kB / 488.1 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.3902, allocations: 220.8 kB / 488.3 MB, free: 436 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3902, allocations: 12 kB / 488.3 MB, free: 424 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3904, allocations: 346.8 kB / 488.7 MB, free: 68 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.3909, allocations: 225.9 kB / 488.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.3914, allocations: 309.4 kB / 489.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3924, allocations: 0.5338 MB / 489.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3924, allocations: 0 / 489.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001177/0.3936, allocations: 0.6568 MB / 490.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3937, allocations: 7.938 kB / 490.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3937, allocations: 4 kB / 490.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3937, allocations: 4.188 kB / 490.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.3944, allocations: 163.8 kB / 490.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.3944, allocations: 4 kB / 490.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.395, allocations: 79.34 kB / 490.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.3951, allocations: 23.98 kB / 490.7 MB, free: 14.02 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003025/0.3954, allocations: 193.7 kB / 490.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3955, allocations: 35.53 kB / 490.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.3968, allocations: 0.6241 MB / 491.5 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3968, allocations: 8 kB / 491.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3968, allocations: 0 / 491.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3969, allocations: 3.984 kB / 491.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.399, allocations: 1.292 MB / 492.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.399, allocations: 0 / 492.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.3996, allocations: 139.8 kB / 492.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3996, allocations: 0 / 492.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.3996, allocations: 16 kB / 493 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3996, allocations: 3.984 kB / 493 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3996, allocations: 3.938 kB / 493 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.4013, allocations: 1.002 MB / 494 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4014, allocations: 120.5 kB / 494.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.4015, allocations: 12 kB / 494.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.4019, allocations: 35.98 kB / 494.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.402, allocations: 48.5 kB / 494.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.402, allocations: 23.92 kB / 494.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.4022, allocations: 184.5 kB / 494.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4022, allocations: 0 / 494.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005982/0.4028, allocations: 187.5 kB / 494.6 MB, free: 9.992 MB / 378.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 () * 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 (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.0002603/0.4031, allocations: 163 kB / 494.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.4042, allocations: 0.5468 MB / 495.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4042, allocations: 384 / 495.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.4047, allocations: 283.1 kB / 495.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.4052, allocations: 58.91 kB / 495.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.4075, allocations: 1.311 MB / 496.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4079, allocations: 0.8501 MB / 497.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004566/0.4084, allocations: 79.41 kB / 497.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.4085, allocations: 47.42 kB / 497.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4085, allocations: 0 / 497.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of Templates: time 0.009846/0.4184, allocations: 4.665 MB / 0.4908 GB, free: 1.961 MB / 378.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/jenkins1/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