Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 180.6 kB / 17.02 MB, free: 5.125 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.399/1.399, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0007667/0.0007667, allocations: 104.5 kB / 271.5 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003305, allocations: 4 kB / 328.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2413, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08885/0.3301, allocations: 81.55 MB / 457.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3304, allocations: 91.95 kB / 457.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04999/0.3804, allocations: 20.67 MB / 478.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3804, allocations: 0 / 478.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.3805, allocations: 12 kB / 478.1 MB, free: 10.1 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002981/0.3835, allocations: 0.9987 MB / 479.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3835, allocations: 8.031 kB / 479.2 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.385, allocations: 207 kB / 479.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3853, allocations: 246.2 kB / 479.6 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/0.3854, allocations: 58 kB / 479.7 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.3856, allocations: 79.95 kB / 479.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3871, allocations: 0.7668 MB / 480.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.3872, allocations: 0 / 480.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.3872, allocations: 32 kB / 480.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.3873, allocations: 23.98 kB / 480.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3887, allocations: 0.6922 MB / 481.2 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/0.3934, allocations: 3.147 MB / 484.4 MB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.3958, allocations: 2.082 MB / 486.5 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.3959, allocations: 102.2 kB / 486.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.396, allocations: 47.16 kB / 486.6 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.916e-06/0.396, allocations: 3.938 kB / 486.6 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002963/0.399, allocations: 1.147 MB / 487.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.3991, allocations: 115.5 kB / 487.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.3995, allocations: 249.6 kB / 488.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.3995, allocations: 37.7 kB / 488.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.3998, allocations: 299.4 kB / 488.5 MB, free: 15.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.4, allocations: 244.5 kB / 488.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.4, allocations: 12 kB / 488.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4002, allocations: 354.8 kB / 489.1 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.4008, allocations: 249.9 kB / 489.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.4014, allocations: 386.3 kB / 489.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.402, allocations: 298.9 kB / 490 MB, free: 13.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4021, allocations: 4 kB / 490 MB, free: 13.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001683/0.4037, allocations: 0.8385 MB / 490.8 MB, free: 12.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4038, allocations: 11.95 kB / 490.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4038, allocations: 4 kB / 490.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.4042, allocations: 121.6 kB / 490.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.4049, allocations: 163.8 kB / 491.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.4078, allocations: 3.163 MB / 494.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/0.4085, allocations: 95.16 kB / 494.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.4085, allocations: 36 kB / 494.4 MB, free: 8.719 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (88): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.4089, allocations: 197.6 kB / 494.6 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.409, allocations: 43.48 kB / 494.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.4108, allocations: 0.757 MB / 495.4 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4108, allocations: 12 kB / 495.4 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4108, allocations: 4 kB / 495.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4108, allocations: 3.984 kB / 495.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.4134, allocations: 1.46 MB / 496.9 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4134, allocations: 0 / 496.9 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.414, allocations: 115.9 kB / 497 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.4143, allocations: 113.6 kB / 497.1 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.4144, allocations: 16 kB / 497.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/0.4172, allocations: 3.152 MB / 0.4885 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4172, allocations: 0 / 0.4885 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.4194, allocations: 1.169 MB / 0.4897 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.4195, allocations: 136.4 kB / 0.4898 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.4196, allocations: 15.94 kB / 0.4898 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.4201, allocations: 40.03 kB / 0.4899 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4202, allocations: 48.58 kB / 0.4899 GB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.4202, allocations: 20 kB / 0.4899 GB, free: 1.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.4204, allocations: 194 kB / 0.4901 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4205, allocations: 0 / 0.4901 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007924/0.4213, allocations: 223.5 kB / 0.4903 GB, free: 0.6094 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.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 (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002871/0.4215, allocations: 163 kB / 0.4905 GB, free: 452 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.153/0.5745, allocations: 0.8898 MB / 0.4913 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5746, allocations: 0.5312 kB / 0.4913 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.5757, allocations: 0.574 MB / 0.4919 GB, free: 101.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.5761, allocations: 28.8 kB / 0.4919 GB, free: 101.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.5783, allocations: 1.373 MB / 0.4933 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.5786, allocations: 0.8766 MB / 0.4941 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004415/0.579, allocations: 83.97 kB / 0.4942 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.5792, allocations: 41.16 kB / 0.4943 GB, free: 100.2 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.5792, allocations: 1.156 kB / 0.4943 GB, free: 100.2 MB / 378.7 MB Notification: Performance of Templates: time 0.009736/0.5889, allocations: 5.561 MB / 0.4997 GB, free: 99.95 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches