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.001606/0.001606, allocations: 113.3 kB / 18.4 MB, free: 4.566 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.001686/0.001686, allocations: 189.2 kB / 19.33 MB, free: 3.648 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.394/1.394, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001885/0.001885, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 46.6 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00566/0.1094, allocations: 4.154 MB / 380 MB, free: 420 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1918/0.3013, allocations: 1.655 MB / 381.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.3017, allocations: 11.84 kB / 381.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.304, allocations: 1.015 MB / 382.6 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.3047, allocations: 235.5 kB / 382.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3063, allocations: 0.7891 MB / 383.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.307, allocations: 0.6255 MB / 384.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007789/0.3078, allocations: 0.4913 MB / 384.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/0.3082, allocations: 266.2 kB / 385 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.3087, allocations: 342.7 kB / 385.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.213e-05/0.3088, allocations: 52.47 kB / 385.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.3095, allocations: 267.2 kB / 385.7 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/0.3096, allocations: 136.2 kB / 385.8 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.3098, allocations: 307.4 kB / 386.1 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.3109, allocations: 0.9063 MB / 387 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3109, allocations: 1.094 kB / 387 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3109, allocations: 0 / 387 MB, free: 8.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.311, allocations: 0 / 387 MB, free: 8.289 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.003639/0.3146, allocations: 1.208 MB / 388.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3147, allocations: 9.672 kB / 388.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.3158, allocations: 175.5 kB / 388.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.316, allocations: 237.3 kB / 388.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.3161, allocations: 50.78 kB / 388.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3162, allocations: 70.91 kB / 388.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.3176, allocations: 0.7058 MB / 389.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.3177, allocations: 2.891 kB / 389.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.3177, allocations: 26.56 kB / 389.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.3178, allocations: 16.97 kB / 389.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.319, allocations: 0.5988 MB / 390.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.3222, allocations: 2.31 MB / 392.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.3238, allocations: 1.639 MB / 394.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.3243, allocations: 272.9 kB / 394.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.3244, allocations: 99.73 kB / 394.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3245, allocations: 42.77 kB / 394.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 3.958e-06/0.3245, allocations: 0 / 394.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001699/0.3262, allocations: 0.7 MB / 395.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3263, allocations: 110.2 kB / 395.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.3266, allocations: 262.1 kB / 395.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.3266, allocations: 36.44 kB / 395.6 MB, free: 2.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3268, allocations: 269.2 kB / 395.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.3269, allocations: 220.6 kB / 396.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3271, allocations: 123.2 kB / 396.2 MB, free: 2.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3272, allocations: 346.1 kB / 396.5 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.3277, allocations: 211.4 kB / 396.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.3283, allocations: 303.8 kB / 397 MB, free: 1.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3293, allocations: 0.5127 MB / 397.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3293, allocations: 0 / 397.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001279/0.3306, allocations: 0.6267 MB / 398.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3306, allocations: 6.562 kB / 398.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3307, allocations: 2.438 kB / 398.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.3307, allocations: 8.594 kB / 398.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.3314, allocations: 161.5 kB / 398.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3314, allocations: 4.062 kB / 398.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.332, allocations: 77.06 kB / 398.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.332, allocations: 24.58 kB / 398.4 MB, free: 1.293 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.0002524/0.3323, allocations: 188.6 kB / 398.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.3324, allocations: 33.02 kB / 398.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.3337, allocations: 0.607 MB / 399.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3338, allocations: 11.78 kB / 399.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.3338, allocations: 4 kB / 399.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.3338, allocations: 4.906 kB / 399.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.3361, allocations: 1.285 MB / 400.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.3361, allocations: 1.375 kB / 400.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.3367, allocations: 133.3 kB / 400.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.3367, allocations: 2.75 kB / 400.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.3367, allocations: 14.66 kB / 400.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.3367, allocations: 6.688 kB / 400.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3368, allocations: 0 / 400.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.3386, allocations: 0.9698 MB / 401.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3387, allocations: 122.3 kB / 401.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.3388, allocations: 16.64 kB / 401.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.3392, allocations: 31.47 kB / 401.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.3394, allocations: 39.03 kB / 401.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.3394, allocations: 19.42 kB / 401.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.3396, allocations: 200 kB / 402.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3396, allocations: 1.156 kB / 402.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.3403, allocations: 171.9 kB / 402.3 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.0002599/0.3406, allocations: 144.7 kB / 402.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.3418, allocations: 0.5295 MB / 402.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3418, allocations: 8 kB / 403 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.3424, allocations: 276.2 kB / 403.2 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.0005478/0.343, allocations: 50.08 kB / 403.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.3452, allocations: 1.092 MB / 404.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.3457, allocations: 0.8451 MB / 405.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.3459, allocations: 53.73 kB / 405.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3459, allocations: 0 / 405.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of Templates: time 0.01192/0.3578, allocations: 6.742 MB / 412 MB, free: 10.14 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/jenkins1/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/jenkins1/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