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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108.9 kB / 17.73 MB, free: 5.23 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.001056/0.001056, allocations: 188.1 kB / 18.66 MB, free: 4.305 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.427/1.427, 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.001142/0.001142, allocations: 51.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1031, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.01021/0.1134, allocations: 4.29 MB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1968/0.3102, allocations: 1.676 MB / 381.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.3105, allocations: 13.41 kB / 381.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.3125, allocations: 1.022 MB / 382.1 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.313, allocations: 245.7 kB / 382.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.3145, allocations: 0.7941 MB / 383.2 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000706/0.3152, allocations: 0.6385 MB / 383.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.316, allocations: 0.5137 MB / 384.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.3163, allocations: 276.1 kB / 384.6 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.3167, allocations: 359.7 kB / 385 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.3168, allocations: 56.22 kB / 385 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.3173, allocations: 270.2 kB / 385.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-05/0.3174, allocations: 144.7 kB / 385.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.3176, allocations: 333.8 kB / 385.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.3187, allocations: 0.9494 MB / 386.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3187, allocations: 4 kB / 386.7 MB, free: 8.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3187, allocations: 1.062 kB / 386.7 MB, free: 8.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3188, allocations: 0 / 386.7 MB, free: 8.113 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003513/0.3223, allocations: 1.254 MB / 388 MB, free: 7.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3223, allocations: 10.14 kB / 388 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.3238, allocations: 204.9 kB / 388.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3239, allocations: 234.1 kB / 388.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.324, allocations: 55.31 kB / 388.4 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3241, allocations: 78.75 kB / 388.5 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.3254, allocations: 0.7791 MB / 389.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.3255, allocations: 1.891 kB / 389.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.3255, allocations: 30.03 kB / 389.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.3256, allocations: 18.06 kB / 389.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3269, allocations: 0.67 MB / 390 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.3304, allocations: 3.093 MB / 393.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.3323, allocations: 2.08 MB / 395.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.333, allocations: 326.4 kB / 395.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.322e-05/0.3331, allocations: 95.42 kB / 395.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3331, allocations: 39.81 kB / 395.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.725e-06/0.3331, allocations: 0 / 395.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.00263/0.3358, allocations: 1.144 MB / 396.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3358, allocations: 111.8 kB / 396.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3361, allocations: 274.1 kB / 397.2 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.3362, allocations: 36.81 kB / 397.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3363, allocations: 297.9 kB / 397.5 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.3364, allocations: 252.1 kB / 397.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.3367, allocations: 137.1 kB / 397.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.3368, allocations: 353.8 kB / 398.2 MB, free: 368 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.3372, allocations: 231.6 kB / 398.4 MB, free: 288 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.3378, allocations: 386.1 kB / 398.8 MB, free: 32 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.339, allocations: 0.6357 MB / 399.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.339, allocations: 2.156 kB / 399.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00162/0.3407, allocations: 0.832 MB / 400.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3407, allocations: 6.969 kB / 400.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3407, allocations: 4.594 kB / 400.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004003/0.3411, allocations: 123.2 kB / 400.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.3418, allocations: 166.9 kB / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.3452, allocations: 3.788 MB / 404.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.3457, allocations: 86.19 kB / 404.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.3458, allocations: 28.53 kB / 404.5 MB, free: 11.69 MB / 334.1 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.3461, allocations: 206.8 kB / 404.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3462, allocations: 40.12 kB / 404.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.3478, allocations: 0.7399 MB / 405.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3478, allocations: 6.75 kB / 405.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3479, allocations: 7.562 kB / 405.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3479, allocations: 3.656 kB / 405.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.3505, allocations: 1.493 MB / 407 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.3505, allocations: 1.094 kB / 407 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.3511, allocations: 114 kB / 407.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.3514, allocations: 116.3 kB / 407.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.3514, allocations: 15.89 kB / 407.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/0.3542, allocations: 3.344 MB / 410.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3542, allocations: 2.078 kB / 410.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.3562, allocations: 1.125 MB / 411.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3563, allocations: 125.6 kB / 411.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.3564, allocations: 11.56 kB / 411.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.3568, allocations: 33.11 kB / 411.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3569, allocations: 53.73 kB / 411.9 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.3569, allocations: 17.69 kB / 411.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.3571, allocations: 192.8 kB / 412.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3572, allocations: 0 / 412.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008531/0.358, allocations: 215.5 kB / 412.3 MB, free: 6.113 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000271/0.3583, allocations: 150.6 kB / 412.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.36, allocations: 0.8877 MB / 413.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.36, allocations: 0 / 413.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.3608, allocations: 0.5573 MB / 413.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3614, allocations: 52.52 kB / 414 MB, free: 5.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3635, allocations: 1.103 MB / 415.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.364, allocations: 0.8639 MB / 415.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.3643, allocations: 82.39 kB / 416 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.3645, allocations: 43.08 kB / 416.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3645, allocations: 0 / 416.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Templates: time 0.01193/0.3764, allocations: 6.222 MB / 422.3 MB, free: 14.79 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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