Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008984, allocations: 90.3 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.826e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 50.43 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2888/0.3995, allocations: 83.1 MB / 470.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.3998, allocations: 87.94 kB / 470.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04618/0.446, allocations: 19.39 MB / 490.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.446, allocations: 0 / 490.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.446, allocations: 8 kB / 490.1 MB, free: 7.996 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.002491/0.4485, allocations: 0.9502 MB / 491 MB, free: 7.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4486, allocations: 8.031 kB / 491 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.4497, allocations: 183.1 kB / 491.2 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.4499, allocations: 234.9 kB / 491.4 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.4499, allocations: 20 kB / 491.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.45, allocations: 44 kB / 491.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008882/0.4509, allocations: 0.5077 MB / 492 MB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.4519, allocations: 0.5646 MB / 492.6 MB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.4519, allocations: 8 kB / 492.6 MB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.452, allocations: 11.94 kB / 492.6 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.452, allocations: 16 kB / 492.6 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.4551, allocations: 2.232 MB / 494.8 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.4567, allocations: 1.613 MB / 496.4 MB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.457, allocations: 223.7 kB / 496.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.4572, allocations: 93.66 kB / 496.8 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4572, allocations: 39.12 kB / 496.8 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.755e-06/0.4572, allocations: 4 kB / 496.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001168/0.4584, allocations: 0.5336 MB / 497.3 MB, free: 236 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.4584, allocations: 107.4 kB / 497.4 MB, free: 104 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.4587, allocations: 214.9 kB / 497.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.4587, allocations: 25.7 kB / 497.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.4588, allocations: 264 kB / 497.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.459, allocations: 220.7 kB / 498.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.459, allocations: 0 / 498.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4591, allocations: 342.8 kB / 498.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.4594, allocations: 173.5 kB / 498.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.4597, allocations: 249.9 kB / 498.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.4605, allocations: 320.3 kB / 499.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4605, allocations: 3.938 kB / 499.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001192/0.4617, allocations: 0.6325 MB / 499.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4617, allocations: 4 kB / 499.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4617, allocations: 0 / 499.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.4618, allocations: 8.188 kB / 499.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.4624, allocations: 167.7 kB / 0.4883 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4625, allocations: 4 kB / 0.4883 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.4629, allocations: 63.34 kB / 0.4884 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.463, allocations: 24 kB / 0.4884 GB, free: 13.36 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 () * 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.000114/0.4631, allocations: 120.8 kB / 0.4885 GB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.4632, allocations: 35.53 kB / 0.4885 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.4644, allocations: 0.6126 MB / 0.4891 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4645, allocations: 8 kB / 0.4891 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4645, allocations: 0 / 0.4891 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4645, allocations: 3.984 kB / 0.4891 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.4664, allocations: 1.207 MB / 0.4903 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4664, allocations: 0 / 0.4903 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.467, allocations: 131.9 kB / 0.4904 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.467, allocations: 4 kB / 0.4905 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.4671, allocations: 4 kB / 0.4905 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4671, allocations: 7.875 kB / 0.4905 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4671, allocations: 4 kB / 0.4905 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.4685, allocations: 0.961 MB / 0.4914 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.4687, allocations: 128.5 kB / 0.4915 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.4687, allocations: 0 / 0.4915 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.4691, allocations: 23.97 kB / 0.4916 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.4692, allocations: 44.45 kB / 0.4916 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.4693, allocations: 20 kB / 0.4916 GB, free: 9.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.4694, allocations: 172.6 kB / 0.4918 GB, free: 9.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4694, allocations: 0 / 0.4918 GB, free: 9.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000586/0.47, allocations: 155.5 kB / 0.4919 GB, free: 9.633 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 () * 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.0002739/0.4703, allocations: 151 kB / 0.4921 GB, free: 9.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00069/0.471, allocations: 454.2 kB / 0.4925 GB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.471, allocations: 0 / 0.4925 GB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.4713, allocations: 230 kB / 0.4927 GB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.4717, allocations: 30.73 kB / 0.4928 GB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.4733, allocations: 0.7607 MB / 0.4935 GB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.4737, allocations: 0.8652 MB / 0.4943 GB, free: 7.102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004212/0.4741, allocations: 79.34 kB / 0.4944 GB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.4743, allocations: 39.42 kB / 0.4945 GB, free: 6.984 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4743, allocations: 0 / 0.4945 GB, free: 6.984 MB / 378.7 MB Notification: Performance of Templates: time 0.008259/0.4825, allocations: 4.32 MB / 0.4987 GB, free: 2.699 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches