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.001583/0.001583, allocations: 103.6 kB / 18.39 MB, free: 4.641 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.001903/0.001903, allocations: 187 kB / 19.33 MB, free: 3.715 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.341/1.341, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001153/0.001153, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07513/0.07629, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004876/0.08121, allocations: 4.287 MB / 380.1 MB, free: 272 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.185/0.2662, allocations: 1.68 MB / 381.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.2665, allocations: 15.84 kB / 381.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.2687, allocations: 1.015 MB / 382.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.2694, allocations: 249.4 kB / 383.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.2709, allocations: 0.7954 MB / 383.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008968/0.2718, allocations: 0.6354 MB / 384.5 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007873/0.2726, allocations: 0.5174 MB / 385 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.2731, allocations: 271.9 kB / 385.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.2735, allocations: 361.8 kB / 385.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.911e-05/0.2736, allocations: 56.19 kB / 385.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006962/0.2743, allocations: 277.4 kB / 386 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.643e-05/0.2744, allocations: 142 kB / 386.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.2747, allocations: 329.8 kB / 386.4 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.2759, allocations: 0.9519 MB / 387.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2759, allocations: 0 / 387.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2759, allocations: 2.297 kB / 387.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.2759, allocations: 0 / 387.4 MB, free: 8.094 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.003565/0.2795, allocations: 1.26 MB / 388.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2796, allocations: 10.31 kB / 388.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.2809, allocations: 205.3 kB / 388.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.2812, allocations: 235.2 kB / 389.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.2812, allocations: 55.69 kB / 389.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2813, allocations: 77.84 kB / 389.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.2827, allocations: 0.773 MB / 390 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.2828, allocations: 0.9062 kB / 390 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.2828, allocations: 30.59 kB / 390 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.2829, allocations: 18.7 kB / 390 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2841, allocations: 0.6653 MB / 390.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.2878, allocations: 3.095 MB / 393.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.2898, allocations: 2.081 MB / 395.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.2904, allocations: 326.5 kB / 396.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.08e-05/0.2905, allocations: 95.33 kB / 396.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2905, allocations: 43.58 kB / 396.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 3.146e-06/0.2905, allocations: 0 / 396.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.00254/0.2931, allocations: 1.145 MB / 397.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.2931, allocations: 111.2 kB / 397.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.2934, allocations: 270.7 kB / 397.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.2935, allocations: 39.86 kB / 397.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2936, allocations: 301.3 kB / 398.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.2938, allocations: 246.3 kB / 398.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.294, allocations: 135.4 kB / 398.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.2941, allocations: 357.2 kB / 398.9 MB, free: 344 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.2946, allocations: 231.2 kB / 399.1 MB, free: 264 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.2952, allocations: 386.8 kB / 399.5 MB, free: 8 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.2963, allocations: 0.6368 MB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2963, allocations: 2.094 kB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001572/0.2979, allocations: 0.8311 MB / 401 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.298, allocations: 6.875 kB / 401 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.298, allocations: 9.156 kB / 401 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.2984, allocations: 121.9 kB / 401.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.299, allocations: 153.7 kB / 401.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.3025, allocations: 3.789 MB / 405 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.3031, allocations: 85.7 kB / 405.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.3032, allocations: 33.44 kB / 405.2 MB, free: 11.66 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.0003236/0.3035, allocations: 203.5 kB / 405.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3036, allocations: 40 kB / 405.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.3053, allocations: 0.7411 MB / 406.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3053, allocations: 6.469 kB / 406.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3053, allocations: 6.688 kB / 406.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3053, allocations: 3.734 kB / 406.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.3081, allocations: 1.496 MB / 407.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3081, allocations: 0 / 407.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.3086, allocations: 120.3 kB / 407.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.3089, allocations: 106.5 kB / 407.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.309, allocations: 14.22 kB / 407.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.312, allocations: 3.347 MB / 411.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.312, allocations: 0.6562 kB / 411.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.314, allocations: 1.123 MB / 412.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.3142, allocations: 126.8 kB / 412.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-05/0.3143, allocations: 19.91 kB / 412.5 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.3147, allocations: 29.38 kB / 412.5 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.3148, allocations: 53.2 kB / 412.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.3149, allocations: 17.69 kB / 412.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.3151, allocations: 197.1 kB / 412.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3151, allocations: 0 / 412.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009715/0.3161, allocations: 211.6 kB / 413 MB, free: 6.102 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.0002932/0.3164, allocations: 159 kB / 413.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.3183, allocations: 0.8796 MB / 414 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3183, allocations: 0 / 414 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009083/0.3192, allocations: 0.5607 MB / 414.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.3198, allocations: 44.47 kB / 414.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3222, allocations: 1.139 MB / 415.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.3227, allocations: 0.8624 MB / 416.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3229, allocations: 60.34 kB / 416.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of SimCode: time 1.252e-06/0.323, allocations: 0 / 416.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Templates: time 0.01664/0.3396, allocations: 11.53 MB / 428.2 MB, free: 9.469 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/jenkins1/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/jenkins1/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