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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 106.4 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09316, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005911/0.09911, allocations: 4.142 MB / 379.3 MB, free: 424 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2253/0.3245, allocations: 1.663 MB / 381 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.3248, allocations: 12.66 kB / 381 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.3271, allocations: 1.01 MB / 382 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.3279, allocations: 229.2 kB / 382.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.3297, allocations: 0.7939 MB / 383 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.3308, allocations: 0.6255 MB / 383.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/0.3318, allocations: 0.491 MB / 384.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.3324, allocations: 274.6 kB / 384.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.3329, allocations: 339.3 kB / 384.7 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.333, allocations: 53.72 kB / 384.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.3339, allocations: 265.9 kB / 385 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.334, allocations: 132.2 kB / 385.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.3343, allocations: 307.4 kB / 385.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.3356, allocations: 0.9114 MB / 386.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3356, allocations: 0 / 386.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3356, allocations: 1.094 kB / 386.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3356, allocations: 0 / 386.4 MB, free: 8.277 MB / 318.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.003803/0.3394, allocations: 1.204 MB / 387.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3395, allocations: 9.188 kB / 387.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3406, allocations: 177 kB / 387.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3409, allocations: 243.9 kB / 388 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.3409, allocations: 57.94 kB / 388 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.341, allocations: 67.88 kB / 388.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.3425, allocations: 0.701 MB / 388.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.3425, allocations: 1.672 kB / 388.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.3426, allocations: 25.53 kB / 388.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.3426, allocations: 16.59 kB / 388.9 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.3441, allocations: 0.6038 MB / 389.5 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.348, allocations: 2.303 MB / 391.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.3496, allocations: 1.635 MB / 393.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.3501, allocations: 273.8 kB / 393.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.3502, allocations: 99.59 kB / 393.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3503, allocations: 42.09 kB / 393.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 3.096e-06/0.3503, allocations: 0 / 393.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001666/0.352, allocations: 0.7013 MB / 394.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.352, allocations: 118.3 kB / 394.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.3524, allocations: 253.2 kB / 394.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.3524, allocations: 36.11 kB / 394.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3526, allocations: 269.2 kB / 395.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.3527, allocations: 220.2 kB / 395.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.3529, allocations: 122.8 kB / 395.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.3531, allocations: 347 kB / 395.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.3536, allocations: 218.8 kB / 396 MB, free: 2.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.3541, allocations: 295.4 kB / 396.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3552, allocations: 0.5124 MB / 396.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3552, allocations: 4 kB / 396.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001327/0.3565, allocations: 0.6335 MB / 397.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3565, allocations: 3.844 kB / 397.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3566, allocations: 3.406 kB / 397.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.3566, allocations: 3.188 kB / 397.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.3573, allocations: 161.1 kB / 397.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3574, allocations: 4.938 kB / 397.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.3579, allocations: 77.89 kB / 397.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.358, allocations: 23.55 kB / 397.8 MB, free: 1.285 MB / 318.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.0002806/0.3583, allocations: 188.3 kB / 397.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.3584, allocations: 33.41 kB / 398 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.3597, allocations: 0.6135 MB / 398.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3597, allocations: 6.562 kB / 398.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3597, allocations: 0 / 398.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3597, allocations: 4.375 kB / 398.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.362, allocations: 1.286 MB / 399.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.362, allocations: 0.8438 kB / 399.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.3626, allocations: 132.9 kB / 400 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.3626, allocations: 3.828 kB / 400 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.3627, allocations: 14.3 kB / 400 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.3627, allocations: 7.016 kB / 400 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3627, allocations: 1 kB / 400 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.3646, allocations: 0.973 MB / 401 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3647, allocations: 123.3 kB / 401.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.3648, allocations: 16.23 kB / 401.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.3653, allocations: 30.41 kB / 401.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3654, allocations: 40.55 kB / 401.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.3655, allocations: 22.12 kB / 401.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.3657, allocations: 191.2 kB / 401.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3657, allocations: 0 / 401.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008062/0.3666, allocations: 173.3 kB / 401.6 MB, free: 15.26 MB / 334.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.000313/0.3669, allocations: 146.4 kB / 401.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3683, allocations: 0.5442 MB / 402.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3683, allocations: 0 / 402.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.3689, allocations: 272.4 kB / 402.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.3696, allocations: 43.55 kB / 402.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.3723, allocations: 1.062 MB / 403.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.3729, allocations: 0.8448 MB / 404.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.3733, allocations: 79.77 kB / 404.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3735, allocations: 44.67 kB / 404.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3735, allocations: 4 kB / 404.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Templates: time 0.01306/0.3866, allocations: 5.174 MB / 409.8 MB, free: 11.13 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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